From ca465b6eb54960f4a8be4481a5b2501614c6aa00 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 7 Jan 2016 12:06:11 -0500 Subject: Clean up small stuff --- pylintrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pylintrc') 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]+))$ -- cgit v1.2.1