Skip to content

Commit bd44ba1

Browse files
committed
. e move mypy configuraation to mypy.ini
1 parent 8221bab commit bd44ba1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

mypy.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
warn_return_any = True
55
warn_unused_configs = True
66
enable_error_code = explicit-override
7+
explicit_package_bases = True
78
exclude = (?x)(
89
^build/ |
910
^dist/ |

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ commands =
1919
description = run mypy
2020
deps = --requirement requirements.dev.txt
2121
commands =
22-
mypy --explicit-package-bases . {posargs}
22+
mypy . {posargs}
2323

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

0 commit comments

Comments
 (0)