-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pylint upstream categories not showing in docs (#10441)
## Summary The upstream category check here https://github.com/astral-sh/ruff/blob/fd26b299865997fc9a89608d5e090f9c05360997/crates/ruff_linter/src/upstream_categories.rs#L54-L65 was not working because the code is actually "E0001" not "PLE0001", I changed it so it will detect the upstream category correctly. I also sorted the upstream categories alphabetically, so that the document generation will be deterministic. ## Test Plan I compared the diff before and after the change.
- Loading branch information
1 parent
fd26b29
commit dc021dd
Showing
2 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters