Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Oct 10, 2024
1 parent a64a78d commit def730a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ commands = python -m pytest --basetemp={envtmpdir} {posargs}
deps =
{[testenv:tests]deps}
extras = linting
# add your fixtures like e.g. pytest_datafiles here
allowlist_externals = pylint
setenv = PYTHONPATH = {toxinidir}/src
commands =
pylint mypackage
Expand All @@ -36,6 +36,7 @@ setenv = PYTHONPATH = {toxinidir}/src
deps =
{[testenv:tests]deps}
extras = type_check
allowlist_externals = mypy
commands =
mypy --show-error-codes src/mypackage --strict
mypy --show-error-codes unittests --strict
Expand All @@ -47,6 +48,7 @@ setenv = PYTHONPATH = {toxinidir}/src
deps =
-r requirements.txt
extras = spell_check
allowlist_externals = codespell
commands =
codespell --ignore-words=domain-specific-terms.txt src
codespell --ignore-words=domain-specific-terms.txt README.md
Expand All @@ -58,6 +60,7 @@ changedir = unittests
deps =
{[testenv:tests]deps}
extras = coverage
allowlist_externals = coverage
setenv = PYTHONPATH = {toxinidir}/src
commands =
coverage run -m pytest --basetemp={envtmpdir} {posargs}
Expand Down

0 comments on commit def730a

Please sign in to comment.