Pylint subcategories' codes are confusingly documented #15168
Labels
documentation
Improvements or additions to documentation
help wanted
Contributions especially welcome
https://docs.astral.sh/ruff/rules/#pylint-pl
This looks like using
C
,E
,R
orW
should enable/disable Pylint rules, but this is wrong as the codes are actuallyPLC
,PLE
,PLR
andPLW
.This is especially vicious given that
W
andE
are existingpycodestyle
groups https://docs.astral.sh/ruff/rules/#pycodestyle-e-w, so config validations will pass.Even the URL currently needs to disambiguate between pycodestyle and pylint error/warning groups https://docs.astral.sh/ruff/rules/#error-e_1 and https://docs.astral.sh/ruff/rules/#warning-w_1 (notice the
_1
)The text was updated successfully, but these errors were encountered: