summaryrefslogtreecommitdiff
path: root/pylint/extensions/_check_docs_utils.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2022-05-05 18:47:47 +0200
committerGitHub <noreply@github.com>2022-05-05 18:47:47 +0200
commit66fcbeb9fc088f4c88a007cb87e590b6765b2391 (patch)
tree472a7881101f5d0a8e4c9385b983bf3d3dd678f4 /pylint/extensions/_check_docs_utils.py
parent04d54f3d179d378076e9dd465cbd8a35a32d659b (diff)
downloadpylint-git-66fcbeb9fc088f4c88a007cb87e590b6765b2391.tar.gz
Move no-self-use to optional extension (#6448)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/extensions/_check_docs_utils.py')
-rw-r--r--pylint/extensions/_check_docs_utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py
index 3c44df130..d020f6c78 100644
--- a/pylint/extensions/_check_docs_utils.py
+++ b/pylint/extensions/_check_docs_utils.py
@@ -190,7 +190,6 @@ class Docstring:
"""
# These methods are designed to be overridden
- # pylint: disable=no-self-use
def __init__(self, doc: nodes.Const | None) -> None:
docstring = doc.value if doc else ""
self.doc = docstring.expandtabs()