pytest-pep8
pytest plugin to check PEP8 requirements
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2014-04-27, 4492 days ago) and targets only Python 2.6, 2.7, 3.3, and 3.4. High install friction and lack of maintenance make this unsuitable for modern projects. Even for legacy Python 2.x codebases, the absence of security updates and compatibility with current tooling makes it a poor choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Classifiers indicate support for Python 2.6, 2.7, 3.3, and 3.4 only; incompatible with later Python versions.
- High install friction: the package is abandoned (last release 2014-04-27, 4492 days ago) and targets Python 2.6–3.4, making it incompatible with modern Python versions.
- No runtime dependencies, but the underlying pep8 tool and pytest ecosystem have evolved significantly since maintenance ceased.
License · maintenance · safety
MIT license (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution, but the abandoned status means no legal updates or security patches will be issued.
last release 2014-04-27 (4492 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 417,618 downloads/mo, #6,812 on PyPI
Alternatives
Verify before relying
pip install pytest-pep8
py.test --pep8- Whether the package works with modern pytest versions (documentation shows pytest-2.7.2 from 2014).
- Whether the underlying pep8 checker is compatible with current Python style conventions.
- Whether caching via pytest-cache plugin still functions as documented.
What it is and what it does
pytest-pep8 is a pytest plugin that adds PEP8 style checking as a test phase. When you run `py.test --pep8`, it discovers all `.py` files in your project and validates them against PEP8 conventions, reporting whitespace, naming, and formatting violations as test failures. The plugin includes caching (via pytest-cache) to skip files that have not changed since the last check, and supports per-project and per-file configuration via `setup.cfg` or `pytest.ini` to ignore specific error codes or entire files.
The package is abandoned: its last release was 2014-04-27 and it targets Python 2.6, 2.7, 3.3, and 3.4. The underlying pep8 tool and pytest ecosystem have evolved substantially since then, and the project has received no maintenance for 4492 days.
Use it for
- Enforce PEP8 compliance as part of a pytest test suite in legacy Python 2.x or early Python 3.x projects.
- Configure project-wide or file-specific PEP8 error suppression rules via setup.cfg without modifying source code.
- Cache PEP8 check results to skip re-validation of unchanged files and speed up repeated test runs.
- Run PEP8 checks alongside other pytest tests in a single command.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2014-04-27, 4492 days ago) and targets only Python 2.6, 2.7, 3.3, and 3.4. High install friction and lack of maintenance make this unsuitable for modern projects. Even for legacy Python 2.x codebases, the absence of security updates and compatibility with current tooling makes it a poor choice.
Install
pytest-pep8 on PyPI
Before you install
High install friction: the package is abandoned (last release 2014-04-27, 4492 days ago) and targets Python 2.6–3.4, making it incompatible with modern Python versions. No runtime dependencies, but the underlying pep8 tool and pytest ecosystem have evolved significantly since maintenance ceased.
Classifiers indicate support for Python 2.6, 2.7, 3.3, and 3.4 only; incompatible with later Python versions.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution, but the abandoned status means no legal updates or security patches will be issued.
Quickstart
pip install pytest-pep8
py.test --pep8
Verify before relying
- Whether the package works with modern pytest versions (documentation shows pytest-2.7.2 from 2014).
- Whether the underlying pep8 checker is compatible with current Python style conventions.
- Whether caching via pytest-cache plugin still functions as documented.
Package facts
| License | MIT license permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,492 days since the last release |
| First released | |
| Downloads | 417,618 / month, #6,812 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4 |
Evidence: pytest-pep8-1.0.6.tar.gz
Tags
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 › “pytest pep8 style checking”
- pytest-pep8A pytest plugin that integrates PEP8 style checking into your test…
- pytest-flake8A pytest plugin that runs flake8 PEP8 compliance checks on Python…
- pep8Checks Python code against PEP 8 style conventions and reports…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also pytest-flake8 · pep8 · pytest-isort · pycodestyle · pytest-timestamper · pytest-pylint · pytest-pspec · pytest-only · pytest-cache · bashate