summaryrefslogtreecommitdiff
path: root/pylint/checkers/refactoring/refactoring_checker.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-05-23 15:34:47 +0200
committerGitHub <noreply@github.com>2022-05-23 15:34:47 +0200
commitd7bca10bd4e5d1fde7a37275517e5183eaf999e7 (patch)
treec127511269371b02be3cc8fc8148df3912c8c64c /pylint/checkers/refactoring/refactoring_checker.py
parentd87abce393462f13bedb73030701dabe9760dd1e (diff)
downloadpylint-git-d7bca10bd4e5d1fde7a37275517e5183eaf999e7.tar.gz
Update ``pydocstringformatter`` to ``0.6.0`` (#6671)
Diffstat (limited to 'pylint/checkers/refactoring/refactoring_checker.py')
-rw-r--r--pylint/checkers/refactoring/refactoring_checker.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
index e01eaf3b0..03ecc75ed 100644
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.py
@@ -1703,7 +1703,6 @@ class RefactoringChecker(checkers.BaseTokenChecker):
Args:
node (nodes.FunctionDef): the function holding the return statements.
-
"""
# explicit return statements are those with a not None value
explicit_returns = [
@@ -1788,7 +1787,6 @@ class RefactoringChecker(checkers.BaseTokenChecker):
Returns:
bool: True if the node ends with an explicit statement, False otherwise.
-
"""
# Recursion base case
if isinstance(node, nodes.Return):