Skip to content

Commit fd8f92d

Browse files
committed
Run mypy on src/ and testing/ together
This makes testing/ actually pick up the pytest imports -- otherwise they are opaque and we don't actually test the types. A single run is also a bit faster and simpler. The original reason why we split it is no longer relevant (we fixed the problems).
1 parent faf222f commit fd8f92d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,7 @@ repos:
4747
rev: v0.711
4848
hooks:
4949
- id: mypy
50-
name: mypy (src)
51-
files: ^src/
52-
args: []
53-
- id: mypy
54-
name: mypy (testing)
55-
files: ^testing/
50+
files: ^(src/|testing/)
5651
args: []
5752
- repo: local
5853
hooks:

0 commit comments

Comments
 (0)