You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
521 B
INI
29 lines
521 B
INI
[tox]
|
|
envlist = py37,py38,py39,py310
|
|
skip_missing_interpreters = True
|
|
skipsdist = True
|
|
minversion = 3.14.1
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps = -rtest_requirements.txt
|
|
passenv = COVERAGE_FILE
|
|
commands =
|
|
pytest {posargs}
|
|
py38,py39: 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 .
|