New tox.ini and requirements.

Change-Id: I3dc923311e20970332733416710e62e7e1c6d6fc
This commit is contained in:
Fabio Verboso 2020-08-17 12:53:18 +02:00
parent a71417de71
commit cdd85dbe79
3 changed files with 4 additions and 5 deletions

View File

@ -19,4 +19,4 @@ python-designateclient>=2.11.0 # Apache-2.0
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0 # BSD
PyMySQL>=0.7.6 # MIT License
osprofiler>=1.5.0 # Apache-2.0
WSME>=0.8 # MIT
WSME>=0.8 # MIT

View File

@ -18,4 +18,4 @@ autobahn>=0.10.1 # MIT License
python-neutronclient>=6.7.0 # Apache-2.0
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0 # BSD
PyMySQL>=0.7.6 # MIT License
WSME>=0.8 # MIT
WSME>=0.8 # MIT

View File

@ -19,16 +19,15 @@ commands =
find . -type f -name "*.pyc" -delete
[testenv:pep8]
basepython = python2.7
basepython = python3
commands = flake8 {posargs}
[testenv:py35]
basepython = python3.5
basepython = python3
[flake8]
# TODO(dmllr): Analyze or fix the warnings blacklisted below
# E711 comparison to None should be 'if cond is not None:'
# E712 comparison to True should be 'if cond is True:' or 'if cond:'
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line