gerritbot/tox.ini
Sorin Sbarnea 54e2f218d6 Skip notifications about WIP changes
WIP changes are likely to spam irc channels as they are not even
visible by default in dashboards. If we detect the WIP flag as present
and set to true, we just skip doing anything about that message.

Change-Id: Id4ee6c825e6d508c0c722d01ac8b1147b4025dbe
2020-12-02 15:32:09 +00:00

40 lines
833 B
INI

[tox]
envlist =
pep8
py3
py3-{devel}
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
LANGUAGE=en_US
LC_ALL=en_US.UTF-8
PYTHONWARNINGS=default::DeprecationWarning
TESTS_DIR=./gerritbot/tests/unit/
deps =
-r{toxinidir}/test-requirements.txt
devel: git+https://opendev.org/opendev/gerritlib.git@master#egg=gerritlib
whitelist_externals = rm
commands =
rm -f .testrepository/times.dbm
stestr run {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:pep8]
commands = flake8
[testenv:pyflakes]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*.egg