Skip to content

Commit

Permalink
Fix: Skip files in tests folder that are not ending with _test.py
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions committed Nov 23, 2023
1 parent 814681c commit dbdd5ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- id: name-tests-test
# pass_filenames: false
files: \^*._test.py
# Do not allow direct push to main/master branches
- id: no-commit-to-branch
# - id: pretty-format-json
Expand Down

0 comments on commit dbdd5ee

Please sign in to comment.