30 lines
503 B
INI
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 .
|