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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_ruff-0.5.tar.gz.
File metadata
- Download URL: pytest_ruff-0.5.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f611c780fc2b9b8d7041fa0e7589f0a9f352b288d0cfc330881101b35d382063
|
|
| MD5 |
89ecb7bf3e00ee2b6440f1d7417cbfe1
|
|
| BLAKE2b-256 |
325abee55130757fb4a14e0ac5d2c6558323275b5dccfa2f5353f3893299ff7d
|
File details
Details for the file pytest_ruff-0.5-py3-none-any.whl.
File metadata
- Download URL: pytest_ruff-0.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9db170d86fb167008e6702b4d79e2cccd8287f069c3a57f9261831cebdc4a31
|
|
| MD5 |
b472a0c02871e029b9bbd4a80ed61a0a
|
|
| BLAKE2b-256 |
1dcaabfce6de0bb0f017ed05ef9f2330596235cc5a3341b4d8d40895682b3814
|