summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-03-04 09:14:30 -0500
committerGitHub <noreply@github.com>2023-03-04 15:14:30 +0100
commitc356a3c99388a192dd57beea99c4d043e15cff2c (patch)
treead9091dc6c99ded937563564c992af14bdc287bf
parent81bb644a82fcbc7c3d53d7a4faa297c57925f1c7 (diff)
downloadpylint-git-c356a3c99388a192dd57beea99c4d043e15cff2c.tar.gz
Document ignoring pragmas for calculating line length (#8380)
-rw-r--r--doc/data/messages/l/line-too-long/details.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/data/messages/l/line-too-long/details.rst b/doc/data/messages/l/line-too-long/details.rst
index 068a453b4..7f774a661 100644
--- a/doc/data/messages/l/line-too-long/details.rst
+++ b/doc/data/messages/l/line-too-long/details.rst
@@ -1,3 +1,5 @@
+Pragma controls such as ``# pylint: disable=all`` are not counted toward line length for the purposes of this message.
+
If you attempt to disable this message via ``# pylint: disable=line-too-long`` in a module with no code, you may receive a message for ``useless-suppression``. This is a false positive of ``useless-suppression`` we can't easily fix.
See https://github.com/PyCQA/pylint/issues/3368 for more information.