summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDave Wilde <dwilde@redhat.com>2022-12-06 14:59:48 -0600
committercdw from scratch <dwilde@redhat.com>2022-12-09 10:28:06 -0600
commitdc0b79649506a520463622c6ff0e0383a2dea6a0 (patch)
treea6e7e5237bab2c387c23757646930ab6df3759bb /tox.ini
parentaeeb64d349524433dda05cf12994ea4f8676c098 (diff)
downloadkeystonemiddleware-dc0b79649506a520463622c6ff0e0383a2dea6a0.tar.gz
Fix pep8 gate
This updates the test-requirements to more recent flake8-docstrings and pep8 versions. I also added some more ignores that would take significant work to update and fixed some minor linting issues. Change-Id: Ia416658b8a4bfb8f43f8df170053abb3ae958d44
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 5c148aa..ab4bee0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,10 +49,11 @@ commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
# D102: Missing docstring in public method
# D103: Missing docstring in public function
# D104: Missing docstring in public package
-# D203: 1 blank line required before class docstring (deprecated in pep257)
+# D107: Missing docstring in __init__
+# D401: First line should be in imperative mood
# W503 line break before binary operator
# W504 line break after binary operator
-ignore = D100,D101,D102,D103,D104,D203,W503,W504
+ignore = D100,D101,D102,D103,D104,D107,D401,W503,W504
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build