Skip to content

Commit 8221bab

Browse files
committed
. e coallesce calls to mypy
1 parent a63a195 commit 8221bab

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

mypy.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
warn_return_any = True
55
warn_unused_configs = True
66
enable_error_code = explicit-override
7-
exclude = venv/
7+
exclude = (?x)(
8+
^build/ |
9+
^dist/ |
10+
^test-reports/ |
11+
^\.tox/ |
12+
^\.venv/ |
13+
^setup.*\.py$
14+
)
815

916
[mypy-approval_utilities.utilities.logger.simple_logger]
1017
disable_error_code = no-any-return

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ commands =
1919
description = run mypy
2020
deps = --requirement requirements.dev.txt
2121
commands =
22-
mypy --explicit-package-bases approvaltests {posargs}
23-
mypy --explicit-package-bases approval_utilities {posargs}
24-
mypy --explicit-package-bases tests {posargs}
22+
mypy --explicit-package-bases . {posargs}
2523

2624
[testenv:lint]
2725
description = run pre-commit and automatically install the hook

0 commit comments

Comments
 (0)