pyproject-flake8
pyproject-flake8 (`pflake8`), a monkey patching wrapper to connect flake8 with pyproject.toml configuration
Decision gist · record as of 2026-08-14
Yes, if you need flake8 to read pyproject.toml and accept the trade-offs. The install is low-friction and the package has no known vulnerabilities. However, dormant maintenance (857 days since last release) means no active support for future flake8 or Python changes, and the monkey-patching approach is inherently fragile. Verify the license terms before use. Best suited for stable, mature projects where flake8 compatibility is unlikely to shift rapidly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.8.1.
- Monkey patches flake8 and configparser; may break if flake8 or Python internals change significantly.
- Low friction install with only two runtime dependencies (tomli and flake8).
License · maintenance · safety
(unclear) — License status is unclear; the package declares no SPDX identifier or raw license text in its metadata, though the repository mentions Unlicense. Verify the actual license terms before use in proprietary or restricted-license projects.
last release 2024-04-09 (857 days) · last repo commit 2024-07-09 · 176 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 338,095 downloads/mo, #7,438 on PyPI
Alternatives
Verify before relying
pip install pyproject-flake8
# In pyproject.toml:
# [tool.flake8]
# max-line-length = 88
# Then run:
pflake8 .- Actual license terms (Unlicense vs. other) and any restrictions on commercial use.
- Compatibility with flake8 versions beyond those explicitly tested in recent releases.
- Whether dormant status means the project is stable or abandoned.
What it is and what it does
pyproject-flake8 is a wrapper script that monkey patches flake8 to read its configuration from the [tool.flake8] section of pyproject.toml instead of requiring a separate .flake8 or setup.cfg file. You invoke it via the pflake8 command rather than flake8, and it handles the redirection transparently. The package depends on flake8 itself and tomli for TOML parsing.
The project explicitly versions itself to track flake8 releases—release versions pin identical flake8 versions, while alpha versions pin to a minimum compatible flake8 version. This dual approach lets you choose between stability (fixed version) and flexibility (minimum version with risk of breakage). The maintainer acknowledges that monkey patching carries inherent fragility and may break if Python or flake8 restructure their internals.
Use it for
- Consolidate linter config into pyproject.toml alongside other tool settings, reducing .flake8 and setup.cfg clutter.
- Use flake8 in projects that have standardized on pyproject.toml for all tool configuration.
- Maintain a single source of truth for linting rules across a monorepo or multi-project setup.
- Migrate from separate flake8 config files to a unified pyproject.toml without rewriting linting rules.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need flake8 to read pyproject.toml and accept the trade-offs.
The install is low-friction and the package has no known vulnerabilities. However, dormant maintenance (857 days since last release) means no active support for future flake8 or Python changes, and the monkey-patching approach is inherently fragile. Verify the license terms before use. Best suited for stable, mature projects where flake8 compatibility is unlikely to shift rapidly.
Install
pyproject-flake8 on PyPI
Before you install
Low friction install with only two runtime dependencies (tomli and flake8). Maintenance is dormant—last release was 857 days ago—so expect no active bug fixes or flake8 compatibility updates going forward.
Requires Python >=3.8.1. Monkey patches flake8 and configparser; may break if flake8 or Python internals change significantly.
License in practice
License status is unclear; the package declares no SPDX identifier or raw license text in its metadata, though the repository mentions Unlicense. Verify the actual license terms before use in proprietary or restricted-license projects.
Quickstart
pip install pyproject-flake8
# In pyproject.toml:
# [tool.flake8]
# max-line-length = 88
# Then run:
pflake8 .
Verify before relying
- Actual license terms (Unlicense vs. other) and any restrictions on commercial use.
- Compatibility with flake8 versions beyond those explicitly tested in recent releases.
- Whether dormant status means the project is stable or abandoned.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8.1 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagestomliflake8 |
| Maintenance | Dormant 857 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 338,095 / month, #7,438 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pyproject_flake8-7.0.0-py3-none-any.whl
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 › “flake8 pyproject.toml config”
- pyproject-flake8Enables flake8 linting to read configuration from pyproject.toml by…
- Flake8-pyprojectFlake8-pyproject enables Flake8 to read its configuration from…
- pytoolconfigPytoolconfig reads and manages configuration for Python tools from…
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 Flake8-pyproject · sphinx-pyproject · autowrapt · flake8 · pysen · pyproject-api · flake8-polyfill · pep8-naming · pyproject-parser · lintrunner-adapters