pytest plugin to check ruff requirements.
Project description
pytest-ruff
A pytest plugin to run ruff.
Installation
pip install pytest-ruff
Usage
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.
Configuration
You can override ruff configuration options by placing a pyproject.toml
or ruff.toml
file in your project directory, like when using standalone ruff.
License
Distributed under the terms of the MIT
license, pytest-ruff
is free and open source software.
Project details
Release history Release notifications | RSS feed
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.4.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for pytest_ruff-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69acd5b2ba68d65998c730b5b4d656788193190e45f61a53aa66ef8b390634a4 |
|
MD5 | e1a855aed19df561e6caf59b9bf2468c |
|
BLAKE2b-256 | 0f7aed1015e97fadfde96b2c439390dc5a75542a77982d775baf2ada9f536cac |