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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pytest_flake8-1.1.3.tar.gz.

File metadata

  • Download URL: pytest_flake8-1.1.3.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pytest_flake8-1.1.3.tar.gz
Algorithm Hash digest
SHA256 1849d597b3b096dbe5a929abddc5f933c91bcbf192881f749ea089ef3450948d
MD5 d3773d06358ea57feb3785814cd85052
BLAKE2b-256 cf4db4d7ca9bbe3cbb9980a916fe37c52b5821df1fa36bdc6b55b6969170315e

See more details on using hashes here.

Provenance

File details

Details for the file pytest_flake8-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_flake8-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45cf234a9f23569b381c2b82160a0c0a727716c3235dc413d176ee09f789b508
MD5 ec76f508bea6a8861c039e26badab73e
BLAKE2b-256 d7f3ecb9e91a599613f8e880edfe7c2432bdf2ccce9eb8925c2e635965e2fa0c

See more details on using hashes here.

Provenance

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