summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-08-22 18:01:40 +0200
committerJohn Villalovos <john@sodarock.com>2021-08-22 22:25:14 -0700
commit7a64e67c8ea09c5e4e041cc9d0807f340d0e1310 (patch)
treeb6ebd00ed3cc813516ba5981ee76c8d3bda42ab8
parent38597e71a7dd12751b028f9451587f781f95c18f (diff)
downloadgitlab-7a64e67c8ea09c5e4e041cc9d0807f340d0e1310.tar.gz
chore: define root dir in mypy, not tox
-rw-r--r--pyproject.toml1
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0cd4c1b..27b5faa 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,6 +6,7 @@ order_by_type = false
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_defs = true
+files = "."
[[tool.mypy.overrides]] # Overrides for currently untyped modules
module = [
diff --git a/tox.ini b/tox.ini
index 4cb6cd8..1ddc331 100644
--- a/tox.ini
+++ b/tox.ini
@@ -41,7 +41,7 @@ basepython = python3
envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
- mypy {posargs} .
+ mypy {posargs}
[testenv:twine-check]
basepython = python3