novel-stats/tox.ini
Dan Helfman 6ea2b18d47
Some checks failed
continuous-integration/drone/push Build is failing
Drop Python 3.7 support (end of lifed).
2023-10-23 19:12:38 -07:00

30 lines
503 B
INI

[tox]
env_list = py38,py39,py310,py311
skip_missing_interpreters = True
package = editable
minversion = 4.0
[testenv]
deps =
-r test_requirements.txt
pass_env = COVERAGE_FILE
commands =
pytest {posargs}
black --check .
isort --check-only --settings-path setup.cfg .
flake8 novel_stats tests
[testenv:black]
commands =
black {posargs} .
[testenv:test]
commands =
pytest {posargs}
[testenv:isort]
deps =
{[testenv]deps}
commands =
isort --settings-path setup.cfg .