PyCQA/flake8
flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
Featured achievements
The project's latest awards
#1 Repository of the day
#1 Repository of the day
#1 Repository of the day
🧹 Flake8: one pass for Python style and quality
Run one command to catch style, errors, and complexity issues.
Flake8 is a Python wrapper that glues together PyFlakes, pycodestyle, and Ned Batchelder's McCabe script. It runs all of them via the single flake8 command and displays warnings in a per-file, merged output.
✨ Highlights
- Unified CLI: Runs PyFlakes, pycodestyle, and McCabe together with one
flake8command. - Merged per-file output: All warnings from the tools are combined and shown per file.
- Inline
noqacontrol: Skip whole files with# flake8: noqa, skip all warnings on a line with# noqa, or ignore specific errors with# noqa: <error>(comma separated, case insensitive; colon required). - VCS hooks: Includes Git and Mercurial hooks.
- Plugin extensible: Can be extended through
flake8.extensionandflake8.formattingentry points.
💡 Why it matters
Flake8 cuts down on running multiple lint tools by consolidating common checks into one CLI with a single report. Its inline suppression and entry-point extensibility make it easy to drop into existing Python workflows without extra glue code.
#Python #Linter #StaticAnalysis #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.
Reverse engineer anything with agents, from app behavior down to native binaries.