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.1.tar.gz
(12.9 kB
view details)
Built Distribution
File details
Details for the file pytest_flake8-1.2.1.tar.gz
.
File metadata
- Download URL: pytest_flake8-1.2.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b9b2f8ea5e58e96778d10b07c8261afb786c8f3cc18ea82e2742bc26074735 |
|
MD5 | b3e943a3ee4daf627f17e1b6f7bd9cab |
|
BLAKE2b-256 | 93b45769667a61a32bbd20a4112d9c4af55f1c59f323262da0aaf00fd3094a0d |
Provenance
File details
Details for the file pytest_flake8-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: pytest_flake8-1.2.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69690200ef796d9eb9be0b706cab9edcf70fa7cdadbef160429af81785b7b1a8 |
|
MD5 | 4b733ee5b17d47476a628e16bea142ef |
|
BLAKE2b-256 | 41a5b7db2fde3a4ea4202b311047e2c66d82fc2c9e6a89e1f20c07983a9a8133 |