27 lines
407 B
INI
27 lines
407 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = py3,code-style
|
|
|
|
[testenv]
|
|
setenv =
|
|
INCOMING_WEBHOOK_SECRET=noop
|
|
REDMINE_URL=noop
|
|
REDMINE_API_KEY=noop
|
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
|
|
deps =
|
|
python-redmine
|
|
flask
|
|
pytest
|
|
pytest-mock
|
|
commands =
|
|
pytest {posargs}
|
|
|
|
[testenv:code-style]
|
|
basepython = python3
|
|
skip_install = true
|
|
deps =
|
|
pre-commit
|
|
commands =
|
|
pre-commit run --all-files --show-diff-on-failure
|