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).
This commit is contained in:
Ran Benita 2019-07-14 18:07:04 +03:00
parent faf222f8fb
commit fd8f92d0e7
1 changed files with 1 additions and 6 deletions

View File

@ -47,12 +47,7 @@ repos:
rev: v0.711
hooks:
- id: mypy
name: mypy (src)
files: ^src/
args: []
- id: mypy
name: mypy (testing)
files: ^testing/
files: ^(src/|testing/)
args: []
- repo: local
hooks: