summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2016-06-03 08:50:23 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2016-06-03 08:50:23 -0500
commit2387f9b05737355608a18ececddeea01201c79be (patch)
tree52efdfe988f8f919547de95ab45e42abbb93d51c /tox.ini
parentfead0013155c451cd692bf95c6da270c8c859bc4 (diff)
downloadkeystonemiddleware-2387f9b05737355608a18ececddeea01201c79be.tar.gz
PEP257: Ignore D203 because it was deprecated
PEP257's D203 check ensures that you have a blank line before class docstrings. This rule directly conflicts with D211 (no blank lines before class docstrings), which is intended to supersede D203. The original language in PEP257 which D203 was based on was actually removed from PEP257 by Guido here: https://hg.python.org/peps/rev/9b715d8246db Change-Id: Icc048b947acea8f655d00540c221123b906e7545
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index dbd21b0..82b3e1f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,7 +40,8 @@ commands = oslo_debug_helper {posargs}
# D102: Missing docstring in public method
# D103: Missing docstring in public function
# D104: Missing docstring in public package
-ignore = D100,D101,D102,D103,D104
+# D203: 1 blank line required before class docstring (deprecated in pep257)
+ignore = D100,D101,D102,D103,D104,D203
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*