pycodestyle
« Back to VersTracker
Description:
Simple Python style checker in one Python file
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python linter pep8 style developer-tools
Install: brew install pycodestyle
About:
Pycodestyle is a tool to check your Python code against some of the style conventions in PEP 8. It is a pure Python module that parses source code and reports violations of the style guide. Its main value is enforcing consistent code style to improve readability and maintainability across Python projects.
Key Features:
  • Parses Python source code to detect PEP 8 violations
  • Configurable via command-line flags and local config files
  • Provides clear, actionable error codes and messages
  • Lightweight and fast, with no external dependencies
Use Cases:
  • Enforcing PEP 8 style rules in CI pipelines
  • Integrating with editors for real-time linting feedback
  • Auditing legacy codebases for style inconsistencies
Alternatives:
  • Flake8 – Wraps pycodestyle, pyflakes, and McCabe complexity; broader than pycodestyle alone
  • Black – Opinionated auto-formatter; reformats code rather than just reporting issues
  • Ruff – Fast, Rust-based linter/formatter that covers pycodestyle rules and more
Version History
Detected Version Rev Change Commit
Oct 9, 2024 8:24pm 0 VERSION_BUMP f7e9fe15