summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-11-26 19:50:13 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-11-26 20:30:32 +0100
commitb5dd64767846d67161c3c15125c57b2d9951352a (patch)
treeab9dc97c78f595caea423111c4d4b594e0931d06 /.flake8
parent7520a365eb59dcd0c8199722b7639abd05ab17b5 (diff)
downloadqutebrowser-b5dd64767846d67161c3c15125c57b2d9951352a.tar.gz
qutebrowser-b5dd64767846d67161c3c15125c57b2d9951352a.zip
Upgrade pydocstyle/flake8-docstrings
See #3320
Diffstat (limited to '.flake8')
-rw-r--r--.flake86
1 files changed, 5 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index e29e7037c..61fdc0326 100644
--- a/.flake8
+++ b/.flake8
@@ -19,18 +19,22 @@ exclude = .*,__pycache__,resources.py
# D103: Missing docstring in public function (will be handled by others)
# D104: Missing docstring in public package (will be handled by others)
# D105: Missing docstring in magic method (will be handled by others)
+# D106: Missing docstring in public nested class (will be handled by others)
+# D107: Missing docstring in __init__ (will be handled by others)
# D209: Blank line before closing """ (removed from PEP257)
# D211: No blank lines allowed before class docstring
# (PEP257 got changed, but let's stick to the old standard)
+# D401: First line should be in imperative mood (okay sometimes)
# D402: First line should not be function's signature (false-positives)
# D403: First word of the first line should be properly capitalized
# (false-positives)
+# D413: Missing blank line after last section (not in pep257?)
ignore =
E128,E226,E265,E501,E402,E266,E722,E731,
F401,
N802,
P101,P102,P103,
- D102,D103,D104,D105,D209,D211,D402,D403
+ D102,D103,D106,D107,D104,D105,D209,D211,D401,D402,D403,D413
min-version = 3.4.0
max-complexity = 12
per-file-ignores =