summaryrefslogtreecommitdiff
path: root/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst')
-rw-r--r--doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst b/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst
new file mode 100644
index 000000000..257fb92bc
--- /dev/null
+++ b/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst
@@ -0,0 +1,3 @@
+Following this check blindly in weakly typed code base can create hard to debug issues. If the value
+can be something else that is falsey but not a string (for example ``None``, or ``0``), the code will
+not be equivalent.