summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-07 17:51:38 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-11 06:38:42 -0500
commitb9f4c86917422de3fe6ecd2976d7213897c93bb2 (patch)
treec8da98046baddd68bcde6a0834f861e071a69a49 /pylintrc
parentaf234f4a2a08dc1616c2270df6349925221c81e8 (diff)
downloadpython-coveragepy-git-b9f4c86917422de3fe6ecd2976d7213897c93bb2.tar.gz
test: reduce use of unittest
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index c55b8982..1257838a 100644
--- a/pylintrc
+++ b/pylintrc
@@ -144,7 +144,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
# TestCase overrides don't: setUp, tearDown
# Nested decorator implementations: _decorator, _wrapper
# Dispatched methods don't: _xxx__Xxxx
-no-docstring-rgx=__.*__|test[A-Z_].*|setUp|tearDown|_decorator|_wrapper|_.*__.*
+no-docstring-rgx=__.*__|test[A-Z_].*|setup_test|_decorator|_wrapper|_.*__.*
# Regular expression which should only match correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
@@ -232,7 +232,7 @@ additional-builtins=
[CLASSES]
# List of method names used to declare (i.e. assign) instance attributes.
-defining-attr-methods=__init__,__new__,setUp,reset
+defining-attr-methods=__init__,__new__,setup_test,reset
# checks for sign of poor/misdesign: