PyCQA/pycodestyle
Simple Python style checker in one Python file
Featured achievements
The project's latest awards
#1 Repository of the day
#1 Repository of the day
#1 Repository of the day
📏 Minimal PEP 8 checker
Catch style slips with one Python file.
pycodestyle (formerly called pep8) checks Python code against some of the style conventions in PEP 8. Small and portable, it can run from pycodestyle.py alone with only stdlib.
✨ Highlights
- PEP 8 checks: Enforces select PEP 8 style conventions.
- Single file: Just
pycodestyle.py, requires only stdlib. - Plugin architecture: Adding new checks is easy.
- Parseable output: Jump to error location in your editor.
- Source + PEP 8 context:
--show-source --show-pep8shows the code and relevant PEP 8 text. - Error statistics:
--statisticsshows how often each error type was found. - Comprehensive test suite: Comes with a full test suite.
💡 Why it matters
No extra deps to run style checks. CLI output is editor-friendly and can show both the offending code and the matching PEP 8 rule. Easy to drop in locally or in CI with minimal overhead.
#Python #PEP8 #Linter #StyleGuide #TiniX
Similar Projects
Discover other similar projects and AI models.
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.
Reverse engineer anything with agents, from app behavior down to native binaries.
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.