Skip to content

Check for pylint pragmas in __init__.py #9496

Closed as not planned
Closed as not planned
@chaosflaws

Description

@chaosflaws

Current problem

I would like to disable different pylint rules in my application code and my test code (specifically messages about certain missing docstrings).

Desired solution

There is an open issue for that (#2712), but I suppose this won't be supported soon. An easier solution to the problem I am facing would be to parse __init__.py files for pylint pragmas and, if present, apply them to all modules in that package.

Additional context

IMHO, this should greatly reduce the need for #2712, since with this addition, all file- and block-related exclusions, file-based exclusions and directory-based exclusions would be supported.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions