Skip to content

Commit 2007f33

Browse files
committed
update hook invocations to use src layout
1 parent 85ff041 commit 2007f33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
rev: 25.1.0 # matching versions in pyproject.toml and github actions
3131
hooks:
3232
- id: black
33-
args: ["--check", "-v", "datajoint", "tests", "--diff"] # --required-version is conflicting with pre-commit
33+
args: ["--check", "-v", "src", "tests", "--diff"] # --required-version is conflicting with pre-commit
3434
- repo: https://github.com/PyCQA/flake8
3535
rev: 7.3.0
3636
hooks:
@@ -41,7 +41,7 @@ repos:
4141
- --count
4242
- --show-source
4343
- --statistics
44-
files: datajoint # a lot of files in tests are not compliant
44+
files: src/ # a lot of files in tests are not compliant
4545
# style tests
4646
- id: flake8
4747
args:
@@ -51,7 +51,7 @@ repos:
5151
- --max-line-length=127
5252
- --statistics
5353
- --per-file-ignores=datajoint/diagram.py:C901
54-
files: datajoint # a lot of files in tests are not compliant
54+
files: src/ # a lot of files in tests are not compliant
5555
- repo: https://github.com/rhysd/actionlint
5656
rev: v1.7.7
5757
hooks:

0 commit comments

Comments
 (0)