39 lines
752 B
INI
39 lines
752 B
INI
[tox]
|
|
envlist = py3{7,8,9,10,11,12,13}, mypy, black, pylint, pydocstyle, isort, bandit
|
|
isolated_build = True
|
|
skip_missing_interpreters = True
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
commands = pytest
|
|
|
|
[testenv:black]
|
|
deps = black
|
|
skip_install = True
|
|
commands = black --check --diff tests/ sequences
|
|
|
|
[testenv:mypy]
|
|
deps = mypy
|
|
skip_install = True
|
|
commands = mypy --ignore-missing-imports sequences
|
|
|
|
[testenv:pylint]
|
|
deps = pylint
|
|
commands = pylint --disable import-outside-toplevel sequences
|
|
|
|
[testenv:pydocstyle]
|
|
deps = pydocstyle
|
|
skip_install = True
|
|
commands = pydocstyle sequences
|
|
|
|
[testenv:isort]
|
|
deps = isort
|
|
skip_install = True
|
|
commands = isort --profile=black --check sequences
|
|
|
|
[testenv:bandit]
|
|
deps = bandit
|
|
skip_install = True
|
|
commands = bandit sequences
|