mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
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
|
||
|---|---|---|
| .. | ||
| test_base_formatter.py | ||
| test_checker_manager.py | ||
| test_config_file_finder.py | ||
| test_file_processor.py | ||
| test_merged_config_parser.py | ||
| test_notifier.py | ||
| test_option.py | ||
| test_option_manager.py | ||
| test_plugin.py | ||
| test_plugin_manager.py | ||
| test_plugin_type_manager.py | ||
| test_style_guide.py | ||
| test_trie.py | ||
| test_utils.py | ||