Skip to content

Display enabled rules #11002

@BlindChickens

Description

@BlindChickens

Is there any way to just see the enabled rules in a list like this with name and code(s)?

('comparison-with-itself', 'R0124')
('comparison-of-constants', 'R0133')
('no-classmethod-decorator', 'R0202')
('no-staticmethod-decorator', 'R0203')
('property-with-parameters', 'R0206')
('consider-using-from-import', 'R0402')
('too-many-public-methods', 'R0904')
('too-many-return-statements', 'R0911')
('too-many-branches', 'R0912')
...

I have seen the other discussions regarding issues resembling this that mention improving the categorisation of the rules etcetera.
And all those improvements will be welcomed. But internally when linting there must be a list after config is parsed that can just be shard with me on the terminal :)

If there is any way to get it that I am missing, please share.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions