format-novel/tox.ini
Dan Helfman b1f1d67653
All checks were successful
continuous-integration/drone Build is passing
Make into pip installable Python package.
2022-01-09 22:03:25 -08:00

29 lines
523 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 format_novel tests
[testenv:black]
commands =
black {posargs} .
[testenv:test]
commands =
pytest {posargs}
[testenv:isort]
deps = {[testenv]deps}
commands =
isort --settings-path setup.cfg .