Skip to content

Commit

Permalink
move mypy config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Oct 31, 2021
1 parent 22d9041 commit 6471a2e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,16 @@ requires = [
]

build-backend = "setuptools.build_meta"

[tool.mypy]
files = [
"wcmatch/*.py"
]
strict = true
show_error_codes = true

[[tool.mypy.overrides]]
module = [
'wcmatch.glob.*'
]
warn_unused_ignores = false
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ deps=
-r requirements/setup.txt
-r requirements/test.txt
commands=
{envbindir}/mypy --strict --show-error-codes --no-warn-unused-ignores wcmatch
{envbindir}/mypy
{envbindir}/py.test --cov wcmatch --cov-append tests
{envbindir}/coverage html -d {envtmpdir}/coverage
{envbindir}/coverage xml
Expand Down

0 comments on commit 6471a2e

Please sign in to comment.