mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-31 19:26:52 +00:00
It is possible to write plugins which are only a function. At the moment they are called on each line manually. This allows the function also to be called on each file once. It works similar to creating the class and calling `run` on it immediately. The plugin function needs to return a generator. This is based on the original comment in the `FileChecker.run_ast_checks` method, but slightly modified as the original comment would've called the return of the function. But the function could return the reports directly. |
||
|---|---|---|
| .. | ||
| test_base_formatter.py | ||
| test_checker_manager.py | ||
| test_config_file_finder.py | ||
| test_file_processor.py | ||
| test_legacy_api.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_statistics.py | ||
| test_style_guide.py | ||
| test_trie.py | ||
| test_utils.py | ||