pytest plugin to check FLAKE8 requirements
Project description
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest_flake8-1.2.0.tar.gz
(12.7 kB
view hashes)
Built Distribution
Close
Hashes for pytest_flake8-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3e09b79b260d17850eb8c0a3a1b6dae4a803dfc1a01b94cbaaf65b05b851e42 |
|
MD5 | 09217dec14fe15da39ccb19a68fbb020 |
|
BLAKE2b-256 | 3c96e4c304de02f5718f79a5314db161d65e6fd4398ea8cf094f87a26fa102d7 |