From c356a3c99388a192dd57beea99c4d043e15cff2c Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 4 Mar 2023 09:14:30 -0500 Subject: Document ignoring pragmas for calculating line length (#8380) --- doc/data/messages/l/line-too-long/details.rst | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v1.2.1