Skip to content

Pylint subcategories' codes are confusingly documented #15168

@Avasam

Description

@Avasam

https://docs.astral.sh/ruff/rules/#pylint-pl
Image

This looks like using C, E, R or W should enable/disable Pylint rules, but this is wrong as the codes are actually PLC, PLE, PLR and PLW.

This is especially vicious given that W and E are existing pycodestyle 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedContributions especially welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions