1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# Flake8 doesn't believe in pyproject.toml, so we put the configuration here.
[flake8]
# https://flake8.readthedocs.org/en/latest/
exclude=\
venv*/*,\
local/*,\
docs/*,\
build/*,\
tests/apps/*,\
.eggs/*,\
.tox/*
max-line-length = 119
extend-ignore =
# whitespace before :
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
[tox]
envlist = towncrier-check,py{38,39,310,311,312,313}
skip_missing_interpreters = true
[testenv:py{,38,39,310,311,312,313}]
setenv = PYTHONPATH = {toxinidir}/src
extras =
dev
commands =
python -m coverage run -m pytest {posargs:-vv --color yes}
[testenv:towncrier{,-check}]
skip_install = True
deps =
towncrier==24.8.0
commands =
check : python -m towncrier.check --compare-with origin/main
!check : python -m towncrier {posargs}
|