ptgbot/tox.ini
Andreas Jaeger cc1118057f Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I5d2ab99725e97437b8dc3dc805c79b4a14610d6c
2020-04-01 10:12:00 +02:00

27 lines
502 B
INI

[tox]
envlist = pep8,pyflakes
[testenv]
setenv = VIRTUAL_ENV={envdir}
sitepackages=True
basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
[testenv:pep8]
commands = flake8
[testenv:pyflakes]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
# E125 and H are intentionally ignored
# W504 line break after binary operator
ignore = E125,H,W504
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg