Skip to main content

pytest plugin to check FLAKE8 requirements

Project description

https://img.shields.io/pypi/v/pytest-flake8.svg https://img.shields.io/pypi/pyversions/pytest-flake8.svg https://img.shields.io/pypi/implementation/pytest-flake8.svg https://img.shields.io/pypi/status/pytest-flake8.svg https://img.shields.io/github/issues/coherent-oss/pytest-flake8.svg https://img.shields.io/github/issues-pr/coherent-oss/pytest-flake8.svg

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


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.1.3.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

pytest_flake8-1.1.3-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page