Skip to main content

pytest plugin to check ruff requirements.

Project description


A pytest plugin to run ruff.


pip install pytest-ruff


pytest --ruff --ruff-format

The plugin will run one ruff check test per file and fail if code is not ok for ruff.

Format command only checks for format and fails for formatting errors.


You can override ruff configuration options by placing a pyproject.toml or ruff.toml file in your project directory, like when using standalone ruff.


Distributed under the terms of the MIT license, pytest-ruff is free and open source software.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_ruff-0.3.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

pytest_ruff-0.3.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page