summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNicolas Bock <nicolas.bock@canonical.com>2020-10-03 07:28:49 -0600
committerNicolas Bock <nicolas.bock@canonical.com>2020-10-10 06:47:06 -0600
commit8f9c503ecc7f4fc8bd6cb2108256ba3e63bb3b73 (patch)
tree542d4378ecc9c1386320eef5fad53d87fd53b8a0 /tox.ini
parent055d1601beb95644e37976d9f4aa3601d5084bc1 (diff)
downloadpython-designateclient-8f9c503ecc7f4fc8bd6cb2108256ba3e63bb3b73.tar.gz
Increase hacking version
Increase the hacking version in test-requirements to match the version used in the `designate` project. This change fixes a few errors that the more recent `pyflakes` flags. Change-Id: If7afefde0f33161016a27774021d27239c642eb5 Co-Authored-By: Michael Chapman <woppin@gmail.com> Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 7 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index db48a9f..f7bb18f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py36,py37,flake8
+envlist = py36,py37,py38,flake8
minversion = 3.1.0
skipsdist = True
skip_missing_interpreters = true
@@ -75,6 +75,10 @@ setenv =
setenv =
{[testenv:functional]setenv}
+[testenv:functional-py38]
+setenv =
+ {[testenv:functional]setenv}
+
[testenv:releasenotes]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
@@ -88,9 +92,10 @@ commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenote
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash
+# W504 line break after binary operator
# See designate for other ignored codes that may apply here
-ignore = H105, H302,H402,H404,H405,H904
+ignore = H105,H302,H402,H404,H405,W504,H904
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools