Registry / testing / flake8-pie

flake8-pie

JSON →
library0.16.0pypypiunverified

A flake8 plugin with a growing collection of opinionated Python lint rules (PIE). Currently v0.16.0, maintained sporadically. Adds ~40 custom checks targeting code smell, performance, and modern Python idioms.

pip install flake8-pie
INSTALL
IMPORT
SIG · FLAKE8-PIE
F
flake8-pie
testingpythonv0.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PIE
Plugin auto-registers with flake8, no explicit import needed.

Install both flake8 and the plugin, then run flake8 with the --select=PIE flag to see pie‑specific errors.

pip install flake8 flake8-pie flake8 your_code.py --select=PIE
Debug
Known issues
breakingv0.15.0 (or v0.14.0) added 18+ new rules. Upgrading may expose new violations in existing code.
fix
Review new rules via flake8 --help or docs; optionally add per‑rule ignores in config.
affects: >=0.5.0, <0.15.0
gotchaRules are off by default. You must explicitly enable them via --select=PIE or --enable-extensions=PIE.
fix
Use flake8 --select=PIE or set select = PIE in .flake8 config.
affects: all
gotchaRule codes are not stable between major versions; rename/removal is possible. Pin flake8-pie version in CI.
fix
Pin version e.g. flake8-pie==0.16.0 in requirements.
affects: all
deprecatedSome rules (e.g., PIE781, PIE782) have been removed or merged into other rules. Check changelog.
fix
Update .flake8 ignore lists and replace removed codes with current equivalents.
affects: >=0.14.0
Upgrade
Version history
0.16.0latest on PyPI · released Aug 8, 2022
Audit
Dependencies
flake8requiredRuntime dependency; plugin runs as flake8 extension
Agent activity
2 hits · last 30 days
node
2
Resources
flake8-pie — pip install flake8-pie · libregistry