2022-10-29 23:19:09 +08:00
|
|
|
[tox]
|
|
|
|
envlist = py39,py310,py311,pre-commit
|
|
|
|
skip_missing_interpreters = true
|
2022-11-01 23:24:13 +08:00
|
|
|
tox_pip_extensions_ext_pip_custom_platform = true
|
|
|
|
tox_pip_extensions_ext_venv_update = true
|
|
|
|
|
2022-10-29 23:19:09 +08:00
|
|
|
[testenv]
|
|
|
|
deps = -r{toxinidir}/requirements.txt
|
2022-11-01 23:24:13 +08:00
|
|
|
passenv = HOME SSH_AUTH_SOCK USER
|
|
|
|
commands =
|
|
|
|
pre-commit install -f --install-hooks
|
|
|
|
pre-commit run --all-files --show-diff-on-failure
|
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
envdir = venv
|
2022-10-29 23:19:09 +08:00
|
|
|
commands =
|
|
|
|
|
2022-11-01 23:24:13 +08:00
|
|
|
[flake8]
|
|
|
|
max-line-length = 130
|
|
|
|
|
|
|
|
[pep8]
|
|
|
|
extend-ignore = E722,E402
|