Skip to content

Commit

Permalink
Move mypy configuration to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Oct 31, 2021
1 parent 9fd8c41 commit 12829cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ requires = [
]

build-backend = "setuptools.build_meta"

[tool.mypy]
files = [
"soupsieve/*.py"
]
strict = true
show_error_codes = true
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ passenv = *
deps =
-rrequirements/tests.txt
commands =
mypy --strict --show-error-codes soupsieve
mypy
py.test --cov soupsieve --cov-append {toxinidir}
coverage html -d {envtmpdir}/coverage
coverage xml
Expand Down

0 comments on commit 12829cc

Please sign in to comment.