Check for pylint pragmas in __init__.py
#9496
Labels
Discussion 🤔
Enhancement ✨
Improvement to a component
Needs decision 🔒
Needs a decision before implemention or rejection
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.
The text was updated successfully, but these errors were encountered: