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 b6ed31ce73
2 changed files with 3 additions and 8 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

@ -1,6 +1,6 @@
[tox]
minversion = 2.3.1
envlist = py35,pep8
envlist = py3,pep8
skipsdist = True
[testenv]
@ -19,16 +19,11 @@ commands =
find . -type f -name "*.pyc" -delete
[testenv:pep8]
basepython = python2.7
basepython = python3
commands = flake8 {posargs}
[testenv:py35]
basepython = python3.5
[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