awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
PyCQA avatar

PyCQA/pycodestyle

0
View on GitHub↗
5,155 stars·752 forks·Python·3 vuespycodestyle.pycqa.org↗

Pycodestyle

pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting deviations as a static analysis tool. Its primary function is to enforce consistent code formatting by scanning files and flagging violations with precise line and column numbers for direct integration into editors or workflows.

The tool combines token-based pattern matching with abstract syntax tree (AST) context enrichment, enabling it to evaluate both surface-level formatting and deeper structural patterns. Its architecture supports custom validation rules through a plugin interface, allowing teams to extend or override the default style checks without modifying the core project. This plugin system, along with sequential file processing and a simple command-line frontend, makes the tool adaptable to project-specific formatting preferences.

In typical usage, pycodestyle fits into continuous integration pipelines and pre-commit hooks, where it automates style compliance checking before code merges or commits. It also supports extensible style validation for teams that need to enforce rules beyond the standard PEP 8 guide.

Features

  • Python Style Checkers - A style checker that scans Python source files and reports deviations from the PEP 8 guide to enforce consistent formatting.
  • Style Guide Enforcers - Enforcing consistent code style across a Python project by automatically detecting deviations from the PEP 8 guide.
  • Python Linters - Scanning Python files for PEP 8 violations to catch formatting errors before code review or deployment.
  • Python Code Quality Utilities - A utility that checks Python code against established style conventions to improve readability and consistency.
  • CLI Wrappers - A thin command-line wrapper that reads file paths, feeds them to the checker, and formats error messages for display.
  • Coding Style Tools - Scan source files and report deviations from a defined style guide to maintain consistent formatting.
  • Source Code Error Location Reporters - Tracks token positions to output violations with precise line and column numbers for direct editor integration.
  • Token Sequence Matchers - Scans source code by tokenizing with Python's tokenize module and matching token sequences against predefined PEP 8 violation patterns.
  • AST Context Enrichments - For rules requiring structural understanding, augments token analysis with Python's abstract syntax tree for deeper context.
  • Style Compliance Checkers - Test source files for adherence to a defined style guide and report non-compliant patterns.
  • Plugin-Based Style Rule Extensions - Adding custom rules via plugins to enforce project-specific formatting preferences beyond PEP 8.
  • Plugin-Based Style Check Extensions - Register custom validation rules through a plugin interface to add or override default style checks.
  • Custom Lint Rule Plugins - A framework that supports custom validation rules through a plugin system for project-specific linting preferences.
  • Pre-commit Hooks - Catching PEP 8 issues in a pre-commit hook so developers fix formatting before saving or committing.
  • Static Analysis Tools - An analysis tool that inspects Python source code for style violations and formatting issues without execution.
  • Continuous Integration Checks - Running static style checks on every commit or pull request to prevent non-compliant code from merging.
  • Linters And Style Checkers - Simple utility for verifying PEP 8 style compliance.

Historique des stars

Graphique de l'historique des stars pour pycqa/pycodestyleGraphique de l'historique des stars pour pycqa/pycodestyle

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait pycqa/pycodestyle ?

pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting deviations as a static analysis tool. Its primary function is to enforce consistent code formatting by scanning files and flagging violations with precise line and column numbers for direct integration into editors or workflows.

Quelles sont les fonctionnalités principales de pycqa/pycodestyle ?

Les fonctionnalités principales de pycqa/pycodestyle sont : Python Style Checkers, Style Guide Enforcers, Python Linters, Python Code Quality Utilities, CLI Wrappers, Coding Style Tools, Source Code Error Location Reporters, Token Sequence Matchers.

Quelles sont les alternatives open-source à pycqa/pycodestyle ?

Les alternatives open-source à pycqa/pycodestyle incluent : pycqa/flake8 — Flake8 is a Python style checker and static analysis tool that identifies programmatic errors and violations of coding… feross/standard — Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide… standard/standard — Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style… google/google-java-format — google-java-format is a Java code formatter and style enforcement tool. It reformats Java source code to adhere to a… standard/semistandard — Semistandard is a static analysis tool and automated code formatter designed to enforce consistent JavaScript syntax… dprint/dprint — dprint is a multi-language code formatter that applies consistent styling across various programming languages using a…

Alternatives open source à Pycodestyle

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Pycodestyle.
  • pycqa/flake8Avatar de PyCQA

    PyCQA/flake8

    3,760Voir sur GitHub↗

    Flake8 is a Python style checker and static analysis tool that identifies programmatic errors and violations of coding standards in source files. It serves as a linting wrapper that aggregates multiple checkers into a single interface, functioning as a pluggable framework for Python code analysis. The tool incorporates a cyclomatic complexity analyzer to measure the logical complexity of functions and identify code that requires refactoring. It is designed for extensibility, allowing the integration of custom plugins and rules through defined entry points. The system provides capabilities fo

    Pythoncomplexity-analysisflake8linter
    Voir sur GitHub↗3,760
  • feross/standardAvatar de feross

    feross/standard

    29,431Voir sur GitHub↗

    Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide that enforces consistent coding rules and identifies programming errors without requiring manual configuration files. The tool distinguishes itself by providing an automatic code fixer that scans source files to correct style violations and ensure a uniform codebase. It implements a predefined rule set to eliminate the need for project-specific configuration. The project covers a broad range of static analysis capabilities, including support for experimental language syntax a

    JavaScript
    Voir sur GitHub↗29,431
  • standard/standardAvatar de standard

    standard/standard

    29,431Voir sur GitHub↗

    Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style guide. It functions as a static code analyzer that scans source code for style violations and potential errors without executing the program. The project provides an automatic code fixer that rewrites source code to resolve formatting issues and enforce syntax consistency. It implements a standardized set of rules for JavaScript formatting and syntax to ensure a uniform appearance across different projects. The system covers a wide range of static analysis capabilities, includi

    JavaScriptdevelopmentecmascriptes6
    Voir sur GitHub↗29,431
  • google/google-java-formatAvatar de google

    google/google-java-format

    6,145Voir sur GitHub↗

    google-java-format is a Java code formatter and style enforcement tool. It reformats Java source code to adhere to a standardized style guide, ensuring consistent layout and indentation across entire projects or individual files. The project functions as a build pipeline linting tool for continuous integration workflows and as an IDE formatting plugin to replace native editor formatting. It can be embedded as a formatting library within code generation software to ensure machine-written output remains human-readable. The tool provides capabilities for reorganizing source code indentation and

    Java
    Voir sur GitHub↗6,145
  • Voir les 30 alternatives à Pycodestyle→