Something went wrong while setting issue due date.
Plugin classes using non-standard parameters are not executed
I'm using Flake8 3.0.0b2 and I am very excited that I can directly get the lines without having to worry about stdin
. But if a class of a plugin only uses non-standard parameter like lines
, it won't be executed. For example if you register the following class, the assertion won't be executed:
class Example(object):
def __init__(self, lines):
assert False
But if you use a parameter which is expected (afaik tree
, logical_line
and physical_line
), it will correctly assert the error:
class Example(object):
def __init__(self, lines, tree):
assert False
Now I tried to read me through Flake8 and it seems that flake8.checker.FileChecker.run_checks
needs to run all remaining plugins.