$npx skillfedfor your agent

pytest-flake8

pytest plugin to check FLAKE8 requirements

Worth itPyPI Software DevelopmentReleased Nov 2024506.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_flake8-1.3.0-py3-none-any.whl
v1.3.0 · released 2024-11-09 · Python >=3.9 · 2 runtime deps: flake8, pytest

Yes. Low friction to install, actively maintained, no known vulnerabilities, and permissive licensing. Use it if you want PEP8 compliance checks as part of your pytest suite and prefer integrated tooling over separate linting steps.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; flake8 and pytest must be installed in your test environment.
  • Low install friction with only two runtime dependencies (flake8 and pytest).
  • Actively maintained as of April 2026, with stable production status since its initial release.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use and modify it freely in commercial or private projects with minimal restrictions.

last release 2024-11-09 (643 days) · last repo commit 2026-04-13 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 506,312 downloads/mo, #6,287 on PyPI

Verify before relying

pip install pytest-flake8

pytest --flake8
  • Whether optional flake8 plugins are auto-detected and applied without manual configuration
  • How caching behavior interacts with CI/CD pipelines and whether cache-clear is needed regularly
Same gist for agents: .md · .json

What it is and what it does

pytest-flake8 is a pytest plugin that integrates PEP8 style checking directly into your test suite. When you run pytest with the --flake8 flag, it automatically discovers all .py files in your project and checks them against flake8 rules, reporting style violations as test failures. This lets you enforce code quality standards alongside your functional tests.

The plugin caches results and only re-checks modified files by default, which speeds up repeated test runs. You can configure which errors or warnings to ignore on a per-project or per-file basis using standard flake8 configuration. If you have flake8 plugins installed, they are automatically applied without additional setup.

Use it for

  • Enforce PEP8 compliance in CI/CD pipelines by failing builds when style violations are detected
  • Run code quality checks alongside unit tests to catch style issues early in development
  • Configure project-specific or file-specific style rules using flake8's standard configuration
  • Integrate linting into existing pytest workflows without adding separate tool invocations

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low friction to install, actively maintained, no known vulnerabilities, and permissive licensing. Use it if you want PEP8 compliance checks as part of your pytest suite and prefer integrated tooling over separate linting steps.

Install

pytest-flake8 on PyPI

Before you install

Low install friction with only two runtime dependencies (flake8 and pytest). Actively maintained as of April 2026, with stable production status since its initial release.

Requires Python 3.9 or later; flake8 and pytest must be installed in your test environment.

License in practice

Licensed under MIT (permissive), so you can use and modify it freely in commercial or private projects with minimal restrictions.

Quickstart

pip install pytest-flake8

pytest --flake8

Verify before relying

  • Whether optional flake8 plugins are auto-detected and applied without manual configuration
  • How caching behavior interacts with CI/CD pipelines and whether cache-clear is needed regularly

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
flake8pytest
MaintenanceActively maintained 643 days since the last release
Last repo commit
First released
Downloads506,312 / month, #6,287 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software DevelopmentTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Evidence: pytest_flake8-1.3.0-py3-none-any.whl

Tags

Capabilities
pytest flake8 pluginpep8 compliance testingcode style checking pytestflake8 test integrationpython linting in testsautomated code quality checks
Topics
lintingcode-qualitypytest-plugin

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python linting in tests”

  • pytest-flake8A pytest plugin that runs flake8 PEP8 compliance checks on Python…
  • pytest-pylintIntegrates pylint code analysis into pytest, allowing you to run…
  • pytest-blackA pytest plugin that runs black format checks on your code during…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pytest-mypy · pytest-pep8 · flake8 · pep8-naming · flake8-polyfill · flake8-tuple · pep8 · flake8-print · pycodestyle · cement