pytest-flake8 1.2.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

pytestflake8 1.2.2

pytest plugin for efficiently checking PEP8 compliance

Usage
Install it into a test environment, then run tests with the option:
pytest --flake8
Every file ending in .py will be discovered and checked with
flake8.

Note
If optional flake8 plugins are installed, those will
be used automatically. No provisions have been made for
configuring these via pytest.


Warning
Running flake8 tests on your project is likely to cause a number
of issues. The plugin allows one to configure on a per-project and
per-file basis which errors or warnings to ignore, see
flake8-ignore.



Configuring Flake8
See the Flake8
docs on configuring.


FAQs
All the Flake8 tests are skipping!
By design, results are cached and only changed files are checked.
Run with pytest --cache-clear --flake8 to bypass.


Notes
For more info on pytest see http://pytest.org
The code is partially based on Ronny Pfannschmidt’s pytest-codecheckers plugin.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.