flake8/tests
Ian Cordasco 2d3e277b1e
Handle optional parameters that were never supported
Previously, pycodestyle never introspected the argument names for
classes except to require that ``tree`` be an argument it could pass.
For Flake8 3.0, we lifted that restriction, but old plugins seem to
have cargo-culted their __init__ signature to be

    def __init__(self, tree, builtins=None):

For some yet unknown reason. This was causing an AttributeError. By
updating flake8.utils.parameters_for to return a dictionary that
indicates whether the parameter is required or not, we can side-step
this by simply ignoring the parameter if it has a default value and
we cannot provide it.

Closes #151
2016-06-28 09:36:24 -05:00
..
fixtures Parse hyphenated config names also 2016-06-28 05:47:14 -05:00
integration Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
unit Handle optional parameters that were never supported 2016-06-28 09:36:24 -05:00
conftest.py Add a docstring to conftest 2016-01-10 13:15:25 -06:00