bugdaystats/tox.ini
Sean McGinnis b0dad97c33
Fix pep8 tox environment
Changes to tox and the pep8 package require updates to the tox
environment definition.

Change-Id: Id95ae5fe17f71e15903e646f3065db85282359ba
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-07-26 13:35:24 -05:00

26 lines
618 B
INI

[tox]
minversion = 3.18.0
skipsdist = True
envlist = pep8,py27
[testenv]
basepython = python3
usedevelop = True
install_command=python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands =
flake8 {posargs} .
[flake8]
# The following checks are ignored on purpose.
#
# E125 unexpected spaces around keyword/parameter equals
# reason: no improvement in readability
ignore = E251
exclude = .git,.venv,.tox,dist,tools,doc/ext,*egg,build
max-complexity = 30
import-order-style = pep8