Skip to content

Commit c356a3c

Browse files
Document ignoring pragmas for calculating line length (#8380)
1 parent 81bb644 commit c356a3c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Pragma controls such as ``# pylint: disable=all`` are not counted toward line length for the purposes of this message.
2+
13
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.
24

35
See https://github.com/PyCQA/pylint/issues/3368 for more information.

0 commit comments

Comments
 (0)