Skip to content

Commit

Permalink
Document ignoring pragmas for calculating line length (#8380)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Mar 4, 2023
1 parent 81bb644 commit c356a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/data/messages/l/line-too-long/details.rst
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit c356a3c

Please sign in to comment.