allow to specify checker mixins
Bug #1114708 reported by
ronny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
New
|
Wishlist
|
Unassigned |
Bug Description
this would allow to do propper support for framework specific extra checks/bindings outside of pyflakes
for example, instead of the execnet support, i could pass in a mixin that overrides the check
or instead of the ErrorReturn check, that could also be a mixin
same goes for supporting __tracebackhide__
description: | updated |
Changed in pyflakes: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
I would like to argue against this kind of feature.
Plugins would make it less clear what it means when a codebase does or does not pass pyflakes. Furthermore, plugins may not uphold the Design Principles. https:/ /github. com/pyflakes/ pyflakes# design- principles
If a codebase needs framework specific checks, why not run pyflakes *and* a different tool on that codebase? Finally, other tools like pylint are highly customizeable and already have plugin APIs, so if you really want one tool that performs many codebase-specific or user-specific tests, maybe that tool is more appropriate.