gitea-redmine/tox.ini

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
407 B
INI
Raw Normal View History

2022-11-02 10:33:33 +01:00
[tox]
skipsdist = True
2023-04-14 13:48:48 +02:00
envlist = py3,code-style
2022-11-02 10:33:33 +01:00
[testenv]
setenv =
INCOMING_WEBHOOK_SECRET=noop
REDMINE_URL=noop
REDMINE_API_KEY=noop
SETUPTOOLS_USE_DISTUTILS=stdlib
2022-11-02 10:33:33 +01:00
deps =
python-redmine
2022-11-02 10:33:33 +01:00
flask
pytest
pytest-mock
2022-11-02 10:33:33 +01:00
commands =
pytest {posargs}
2023-04-14 13:48:48 +02:00
[testenv:code-style]
basepython = python3
skip_install = true
2023-04-14 13:48:48 +02:00
deps =
pre-commit
2022-11-02 10:33:33 +01:00
commands =
2023-04-14 13:48:48 +02:00
pre-commit run --all-files --show-diff-on-failure