mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-11-10 17:47:13 +08:00
22 lines
466 B
INI
Executable file
22 lines
466 B
INI
Executable file
[tox]
|
|
envlist = py39,py310,py311,pre-commit
|
|
skip_missing_interpreters = true
|
|
tox_pip_extensions_ext_pip_custom_platform = true
|
|
tox_pip_extensions_ext_venv_update = true
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
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
|
|
commands =
|
|
|
|
[flake8]
|
|
max-line-length = 130
|
|
|
|
[pep8]
|
|
extend-ignore = E722,E402
|