gentle/tox.ini

38 lines
617 B
INI

# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2023 Anna <cyber@sysrq.in>
[tox]
minversion = 4.0
env_list = py3{11,12}, lint
[testenv]
description = run the tests + mypy
deps =
lxml-stubs
mypy
types-PyYAML
extras =
pkginfo
rdf
test
wheel
yaml
commands =
pytest -vv {tty:--color=yes} {posargs}
mypy gentle tests
[testenv:lint]
description = run the linters
skip_install = true
deps =
pycodestyle
pyflakes
reuse
commands =
reuse lint
pyflakes {posargs:gentle tests}
pycodestyle {posargs:gentle tests}
[pycodestyle]
max-line-length = 100