format-novel/tox.ini

28 lines
496 B
INI
Raw Permalink Normal View History

[tox]
2023-11-06 17:24:05 +00:00
envlist = py38,py39,py310,py311
skip_missing_interpreters = True
2023-11-06 17:24:05 +00:00
package = editable
min_version = 4.0
[testenv]
deps = -rtest_requirements.txt
2023-11-06 17:24:05 +00:00
pass_env = COVERAGE_FILE
commands =
#pytest {posargs}
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 .