Commit 2024-09-05 00:27 a1230557
View on Github →chore: remove style-exceptions.txt
(#16417)
This file has been recording exceptions to the text-based style linters in lint-style.py
and Linter/TextBased
. The length of this file is meant to reach zero - and now, it indeed has. :tada:
Some of the linter errors were easy to fix (and just required sustained effort), such as some misformatted author lines or missing module documentation. The main remaining entries were exceptions for the "long file linter", which has been rewritten as a syntax linter (in #15610 and #16299). Exceptions are now tracked as set_option linter.style.longFile <number>
instead, obviating the need for this file.
This implies the need for a file with transient style exceptions is gone. All of the remaining text-based linters should not be introduced in new code. For permanent exceptions, the file nolints-style.txt
continues to exist; that file must (intentionally) be updated by hand.
zulip discussion