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
commit152dd7d6e4b9a53e89cb7ec0cacf0f01be4abc73 (patch)
tree7afcc1a641b7dfad81367f585e4d862df732271d /pylintrc
parent1a57255a7fe11f6a4318b728dfa90131c97b7eee (diff)
downloadpython-coveragepy-git-152dd7d6e4b9a53e89cb7ec0cacf0f01be4abc73.tar.gz
Clean up small stuff
--HG-- branch : ast-branch
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/pylintrc b/pylintrc
index 09ac1416..4dc9c8e1 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]+))$