Packages
A Pylint plugin that resolves Flask extension import errors and improves code analysis for Flask projects by translating deprecated flask.ext.* imports into their actual module names.
Darker reformats Python source code in Git repositories, but only applies changes to regions that have been modified since a specified revision, using Black, Ruff, isort, flynt, or pyupgrade as the underlying formatter.
Scans Python codebases to find and optionally remove unused variables, functions, classes, methods, attributes, imports, and other dead code expressions.
Integrates Allure Report with Pytest-BDD to capture and visualize behavior-driven test results in a detailed HTML report.
Provides shared utility code and abstractions used by Darker and Graylint, two Python code formatting and linting tools that evolved from a common codebase.
Validates protocol buffer messages against semantic rules defined in protobuf schema annotations, enforcing constraints that go beyond type checking.
However, the repository is archived and abandoned, so install only if you are comfortable maintaining a frozen dependency or if your validation rules are stable and…
A Flake8 formatter that outputs linting results in GitLab Code Quality artifact format (JSON compatible with the Code Climate spec) for integration into GitLab CI/CD pipelines.
actionlint-py provides a pip-installable wrapper that downloads and exposes the actionlint binary for linting GitHub Actions workflow files on your local machine or in pre-commit hooks.
However, be aware of high install friction: the binary download during installation may fail behind corporate proxies or in restricted networks.
stestr is a parallel test runner for Python unittest suites that distributes test execution across multiple processes and maintains a history of test runs using the subunit protocol.
Install it if your project runs unittest suites and would benefit from faster parallel execution or historical test analysis.
A flake8 plugin that detects and reports style inconsistencies and common mistakes in pytest-based test code, enforcing best practices for fixtures, parametrization, assertions, and exception handling.
Generates JUnit-formatted XML reports from pylint output for consumption by CI systems like Jenkins and Azure DevOps.
Bernstein orchestrates parallel CLI coding agents (Claude Code, Codex, Gemini CLI, and 40+ others) with deterministic replay, cryptographic lineage tracking, and optional audit chains—no LLM in the coordination loop, so runs are reproducible end-to-end.
Hacking is a set of flake8 plugins that enforce the OpenStack Style Guide through automated code checks, catching style violations and dangerous patterns without manual review.
A flake8 plugin that validates whether imported packages are declared as project dependencies and reports missing or unused requirements.
However, the aging maintenance status (last release 356 days ago) and the security caveat around eval() of setup.py mean you should only use it on trusted codebases…
Codeflash is a CLI tool that uses LLMs to automatically generate, test, and benchmark Python code optimizations, then opens pull requests with the best performance improvements found.
Ick is a polyglot tool for bundling best practices as versioned, runnable rules and checking any number of repos against them—with or without auto-fixes.
Measures docstring coverage in Python source code by scanning for missing docstrings in functions, classes, methods, and modules, then reports statistics and identifies gaps.
However, maintenance is dormant (last release May 2024, no commits for 829 days), so verify compatibility with your Python version before relying on it for critical…
Pylama is a code audit tool that wraps multiple Python linters (pycodestyle, pydocstyle, pyflakes, mccabe, and optionally pylint, mypy, radon, eradicate, vulture) into a single unified interface for checking code quality and style violations.
Install it if you need unified linting across multiple checkers.
ops-scenario is a state-transition testing framework for Ops charms that lets you write unit tests by arranging a Juju state, emulating an event, and asserting on the resulting state without needing a full Juju installation.
Install it if you are writing or maintaining Ops charms and want to test them without a full Juju setup.
Slither is a static analysis framework for Solidity and Vyper smart contracts that detects vulnerabilities, generates contract information reports, and provides an API for writing custom analyses.
However, the AGPL-3.0 license requires that any modifications or derivative works be released under the same license—ensure this aligns with your project's licensing…
Formats flake8 linting output as JUnit XML, enabling integration with CI/CD systems and test reporting tools that consume JUnit format.
However, the package is dormant (last release April 2018) and untested against recent flake8 versions, so verify compatibility with your current flake8 before relying…
Fawltydeps identifies undeclared dependencies (imports without corresponding declarations) and unused dependencies (declared but never imported) in Python projects.
Provides PEP-561-compliant type stubs for NumPy, pandas, and Matplotlib, enabling mypy and other type checkers to recognize and validate types in these libraries.
A pytest plugin that provides fixtures to write and run tests for gRPC services, supporting both real server and fake in-process testing modes.
Provides Apache Airflow operators that integrate Great Expectations data validation into Airflow workflows, allowing you to define and run data quality tests as part of your DAGs.
An MCP server that retrieves precise source code symbols and context from a codebase using tree-sitter AST parsing, designed to reduce token consumption in AI agent interactions.
A pytest plugin that builds hierarchical dictionaries mirroring the test collection tree, tracking test outcomes, durations, and aggregated counts across directory, module, class, and function levels.
Install it if you need hierarchical test result aggregation, JSON export of test structure, or programmatic access to test outcomes grouped by suite/module/class.
A pytest plugin that generates XML output from test results for parsing and integration with external tools.
Install only if you specifically need XML output from pytest and are willing to explore or contribute to an early-stage, unmaintained project.
Skylos is a local-first static analysis CLI that scans Python, TypeScript, JavaScript, Java, Go, Kotlin, PHP, Rust, Dart, C#, Shell, and deployment configs for dead code, security flaws, secrets, quality regressions, and AI-generated code mistakes.
Install it if you need multi-language static analysis, AI-code verification, or a unified security gate; the 19 dependencies are justified by broad language support…
Lints `.env` files for consistency violations and best practices, catching issues like duplicate keys, improper casing, spacing errors, and quote misuse.
Generates Python TypedDict type annotations automatically from JSON Schema definitions, enabling static type checking of JSON data structures through mypy.
However, maintenance is dormant (last release 2020-08-11), and the package depends on mypy's unstable plugin API—newer mypy versions may break it without warning.
Automatically formats Python docstrings to comply with PEP 8 and PEP 257 recommendations, with support for multiple style guides and configurable strictness.
Install it if your team wants automated, configurable docstring formatting aligned with PEP standards.
Measures documentation and test coverage of dbt projects by analyzing manifest and catalog files, reporting per-model coverage percentages and totals via CLI.
Install it if you want to measure and enforce documentation and test coverage in your dbt projects; the zero-config design and low friction make it a straightforward…
Marionette Driver provides a Python client for automating Firefox through the Marionette protocol, enabling programmatic browser control and testing.
No, not recommended for new projects.
A Flake8 plugin that validates string format calls, checking for mismatched parameters, missing arguments, and unindexed format strings incompatible with Python 2.6.
Install it if format string correctness matters in your codebase; skip it only if you never use str.format() or already rely on type checking and runtime testing to…
Automatically formats Gherkin feature files to enforce consistent style and indentation, available as a command-line tool or pre-commit hook.
A flake8 plugin that converts code style violations into interactive HTML reports with syntax-highlighted source code and grouped error summaries.
However, verify compatibility with your specific flake8 version and Python 3.10+ if you use those, since no updates have shipped since 2022.
Converts Python cProfile profiling data into kcachegrind/qcachegrind calltree format for interactive visualization of function call hierarchies and performance metrics.
However, be aware it is abandoned—no updates since 2020.
A pytest plugin that captures test results and integrates them with TDD Guard for enforcing Test-Driven Development principles during test execution.
A pytest plugin that automates container testing by managing container lifecycle, port binding, volume mounting, and health checks, letting you write tests against container images using testinfra.