diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-08-22 18:01:40 +0200 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-08-22 18:01:40 +0200 |
commit | ca475fc80ac556392fb8cb74731f6c66ce010646 (patch) | |
tree | 4b836b4b688fe420e7ebd6fdcd04781bb01f29f6 | |
parent | 616be1ae320ed65e0b213fb4e4d9ebb69bcdad8a (diff) | |
download | gitlab-chore/fix-mypy-pre-commit.tar.gz |
chore: define root dir in mypy, not toxchore/fix-mypy-pre-commit
-rw-r--r-- | pyproject.toml | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
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 = [ @@ -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 |