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 tests Ruff https://readthedocs.org/projects/pytest-flake8/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational

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


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.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

pytest_flake8-1.2.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytest_flake8-1.2.2.tar.gz
Algorithm Hash digest
SHA256 44a805bd7dce16a0de921a1292df639b70d56ca621a68d4bb515e09858e6e429
MD5 1336377be7b2f28a2c47783f7c565585
BLAKE2b-256 463dd4e39a8c52a08a9c6191627308b840bd3527e2a2bd09fc502bd499d28d3c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pytest_flake8-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b8dfa77be42b5cec901b6b67eafb18d47ae6a05c4deac89399dba4c3591ce4d
MD5 e720a0c632d88310fb9d9dc8b5486785
BLAKE2b-256 6e4727f24919d9ac5989e067043a739e27ba20d6f9dd5d6acd7598a1e4aebed3

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