summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-01-07 12:06:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-01-07 12:06:11 -0500
commitca465b6eb54960f4a8be4481a5b2501614c6aa00 (patch)
tree77f9d087408d40d8e6710ec467a5af45348fbbef /pylintrc
parenta4daf4907f064aeeff789d5679e90452eb24ef8b (diff)
downloadpython-coveragepy-ca465b6eb54960f4a8be4481a5b2501614c6aa00.tar.gz
Clean up small stuff
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/pylintrc b/pylintrc
index 09ac141..4dc9c8e 100644
--- a/pylintrc
+++ b/pylintrc
@@ -134,7 +134,11 @@ required-attributes=
# Regular expression which should only match functions or classes name which do
# not require a docstring
-no-docstring-rgx=__.*__|test[A-Z_].*|setUp|tearDown
+# Special methods don't: __foo__
+# Test methods don't: testXXXX
+# TestCase overrides don't: setUp, tearDown
+# Dispatched methods don't: _xxx__Xxxx
+no-docstring-rgx=__.*__|test[A-Z_].*|setUp|tearDown|_.*__.*
# Regular expression which should only match correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$