$npx skillfedfor your agent

pytest-ruff

pytest plugin to check ruff requirements.

With conditionsPyPI Python ModulesReleased Jun 2025188.7K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_ruff-0.5-py3-none-any.whl
v0.5 · released 2025-06-19 · Python <4.0,>=3.8 · 2 runtime deps: pytest, ruff

Yes, if you want to consolidate ruff linting into your pytest workflow and accept the aging maintenance status. The plugin has low install friction, no known vulnerabilities, and works with current Python versions. However, verify that it remains compatible with your versions of pytest and ruff, and clarify the license metadata before using it in a compliance-sensitive context.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pytest and ruff to be installed; ruff configuration can be customized via pyproject.toml or ruff.toml in your project directory.
  • Low install friction with only pytest and ruff as runtime dependencies.
  • Maintenance status is aging—last release was 421 days ago, though the repository remains active with a recent commit on 2025-07-27.

License · maintenance · safety

(unclear) — License treatment is unclear in the metadata, though the description states distribution under MIT terms; verify the actual license file in the repository before relying on it for compliance.

last release 2025-06-19 (421 days) · last repo commit 2025-07-27 · 36 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 188,749 downloads/mo, #9,939 on PyPI

Verify before relying

pip install pytest-ruff

# In your test run:
pytest --ruff --ruff-format

# The plugin runs one ruff check per file and fails if code violates ruff rules.
  • Whether the unclear license metadata reflects an actual licensing ambiguity or a metadata-only gap that the MIT statement in the description resolves.
  • Current test coverage and whether the aging maintenance status indicates the plugin remains compatible with recent ruff and pytest releases.
Same gist for agents: .md · .json

What it is and what it does

pytest-ruff is a pytest plugin that embeds ruff linting and formatting checks into your test pipeline. Instead of running ruff separately from your test suite, you invoke it via pytest flags (--ruff and --ruff-format) and the plugin executes one ruff validation per file, failing the test run if any file violates ruff rules or has formatting issues.

The plugin respects standard ruff configuration files (pyproject.toml or ruff.toml) in your project, so you configure it the same way you would standalone ruff. It depends only on pytest and ruff, both common tools, and supports Python 3.8 through 3.13. The project is in beta status and has not been updated for 421 days, though the repository remains unarchived and has seen recent activity.

Use it for

  • Run ruff checks alongside unit tests in a single pytest invocation to catch style and formatting issues early.
  • Enforce code quality gates in CI/CD by failing the build if ruff detects violations, without a separate linting step.
  • Validate both code logic and formatting in one test command, reducing the number of separate tools developers need to invoke locally.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you want to consolidate ruff linting into your pytest workflow and accept the aging maintenance status.

The plugin has low install friction, no known vulnerabilities, and works with current Python versions. However, verify that it remains compatible with your versions of pytest and ruff, and clarify the license metadata before using it in a compliance-sensitive context.

Install

pytest-ruff on PyPI

Before you install

Low install friction with only pytest and ruff as runtime dependencies. Maintenance status is aging—last release was 421 days ago, though the repository remains active with a recent commit on 2025-07-27.

Requires pytest and ruff to be installed; ruff configuration can be customized via pyproject.toml or ruff.toml in your project directory.

License in practice

License treatment is unclear in the metadata, though the description states distribution under MIT terms; verify the actual license file in the repository before relying on it for compliance.

Quickstart

pip install pytest-ruff

# In your test run:
pytest --ruff --ruff-format

# The plugin runs one ruff check per file and fails if code violates ruff rules.

Verify before relying

  • Whether the unclear license metadata reflects an actual licensing ambiguity or a metadata-only gap that the MIT statement in the description resolves.
  • Current test coverage and whether the aging maintenance status indicates the plugin remains compatible with recent ruff and pytest releases.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytestruff
MaintenanceAging 421 days since the last release
Last repo commit
First released
Downloads188,749 / month, #9,939 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: pytest_ruff-0.5-py3-none-any.whl

Tags

Capabilities
pytest ruff integrationruff linting in pytestcode quality checks pytestruff format validationpytest code style plugin
Topics
pytest-plugincode-qualitylinting

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest ruff integration”

  • pytest-ruffA pytest plugin that integrates ruff code linting and formatting…
  • bar-raiserBar-Raiser creates GitHub checks with inline annotations, autofix…
  • pytest-examplesA pytest plugin that finds, lints, runs, and validates Python code…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pytest-pylint · ruff · pytest-black · python-lsp-ruff · ruff-format · bar-raiser · prophecy-libs · pytest-retry · pytest-examples · pytest-spark