Skip to content

Commit 7a64e67

Browse files
nejchJohnVillalovos
authored andcommitted
chore: define root dir in mypy, not tox
1 parent 38597e7 commit 7a64e67

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ order_by_type = false
66
[tool.mypy]
77
disallow_incomplete_defs = true
88
disallow_untyped_defs = true
9+
files = "."
910

1011
[[tool.mypy.overrides]] # Overrides for currently untyped modules
1112
module = [

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ basepython = python3
4141
envdir={toxworkdir}/lint
4242
deps = -r{toxinidir}/requirements-lint.txt
4343
commands =
44-
mypy {posargs} .
44+
mypy {posargs}
4545

4646
[testenv:twine-check]
4747
basepython = python3

0 commit comments

Comments
 (0)