summaryrefslogtreecommitdiff
path: root/pylint/extensions/emptystring.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-03-13 13:15:46 +0100
committerGitHub <noreply@github.com>2022-03-13 13:15:46 +0100
commit663a2be7abd407fc680f426155ba26becaaa278d (patch)
treefe0b64a75fe24093b6f26018d82e5b5477a13d3c /pylint/extensions/emptystring.py
parent7981ec021b84c6f2b216202c1c028da4b0ee995b (diff)
downloadpylint-git-663a2be7abd407fc680f426155ba26becaaa278d.tar.gz
Upgrade ``pydocstringformatter`` to ``0.5.0`` (#5910)
Diffstat (limited to 'pylint/extensions/emptystring.py')
-rw-r--r--pylint/extensions/emptystring.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/extensions/emptystring.py b/pylint/extensions/emptystring.py
index 15bdd1e58..096b96ec9 100644
--- a/pylint/extensions/emptystring.py
+++ b/pylint/extensions/emptystring.py
@@ -26,6 +26,7 @@ if TYPE_CHECKING:
class CompareToEmptyStringChecker(checkers.BaseChecker):
"""Checks for comparisons to empty string.
+
Most of the time you should use the fact that empty strings are false.
An exception to this rule is when an empty string value is allowed in the program
and has a different meaning than None!