Skip to content

Commit

Permalink
Exclude tests from insert licenses hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mml5bg committed Sep 22, 2023
1 parent 9b6076f commit 787c5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
rev: 6.3.0
hooks:
- id: pydocstyle

- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.22
hooks:
Expand All @@ -85,7 +85,7 @@ repos:
hooks:
- id: insert-license
files: '.*\.(py|pyi|yaml|yml|sh|helmignore|dockerignore|gitignore)$'
exclude: tests
exclude: .devcontainer/tests
args:
- --license-filepath
- license_header.txt
Expand Down

0 comments on commit 787c5b2

Please sign in to comment.