flake8/tests
Fabian Neundorf 373eb15573 Support functions as file plugins too
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.
2016-07-24 16:27:05 +02:00
..
fixtures Add empty file as a test fixture 2016-07-09 19:41:47 -05:00
integration Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
unit Support functions as file plugins too 2016-07-24 16:27:05 +02:00
conftest.py Add a docstring to conftest 2016-01-10 13:15:25 -06:00