--- id: flake8-pyproject version: "1.2.4" license: unclear license_treatment: permissive maintenance: active --- # Flake8-pyproject — Flake8 plug-in loading the configuration from pyproject.toml License: permissive · Maintenance: active · Downloads: 2.7M/mo ## What it is and what it does Flake8-pyproject is a Flake8 plugin that solves a long-standing gap: Flake8 has resisted native pyproject.toml support despite most Python dev tools adopting it as the standard configuration location. This plugin registers itself with Flake8 to automatically load configuration from a [tool.flake8] section in pyproject.toml, allowing you to consolidate your project's tool configuration in one place. The plugin works by converting your existing Flake8 configuration (whether from .flake8, setup.cfg, or tox.ini) into TOML format and placing it under [tool.flake8] in pyproject.toml. When you run flake8, the plugin intercepts the startup and loads that configuration transparently. It also provides a flake8p command as a fallback for compatibility or reliability reasons. Use it for: - Consolidate all Python tool configuration (pytest, black, isort, flake8) into a single pyproject.toml file. - Migrate from setup.cfg or .flake8 to a modern, unified project configuration structure. - Simplify project setup for teams that expect all linting config in pyproject.toml. - Avoid maintaining multiple configuration files when pyproject.toml is already the standard in your codebase. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Flake8-pyproject enables Flake8 to read its configuration from pyproject.toml instead of requiring separate .flake8, setup.cfg, or tox.ini files. Yes. If you want Flake8 configuration in pyproject.toml, this is the only practical way to get it. Low install friction, active maintenance, no vulnerabilities, and permissive licensing make it a straightforward addition. Install it if your project has already standardized on pyproject.toml for other tools. ## Install pip install flake8-pyproject uv add flake8-pyproject poetry add flake8-pyproject ## Installing Flake8-pyproject Before you install: Low friction: pure Python wheel with only two runtime dependencies (Flake8 and TOMLi). Active maintenance with a recent release (2025-11-28) and no known vulnerabilities. License in practice: MIT license (permissive) places no restrictions on use, modification, or distribution. Quickstart: pip install flake8-pyproject # Add [tool.flake8] section to pyproject.toml: # [tool.flake8] # ignore = ['E231', 'E241'] # max-line-length = 88 flake8 . Verify before relying: - Whether the plugin works reliably with all Flake8 versions or if there are known incompatibilities. - Performance impact when loading configuration from pyproject.toml versus traditional config files. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 2.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags flake8 pyproject.toml configuration, flake8 config in pyproject, unified python tool config, flake8 plugin toml, centralized linting config, flake8 setup.cfg alternative, flake8-plugin, config-consolidation [View on SkillFed](https://skillfed.io/packages/flake8-pyproject) · [View on PyPI](https://pypi.org/project/flake8-pyproject/)