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.
Release files for pytest-ruff 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_ruff-0.5.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_ruff-0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.5 kB
Release files / pytest_ruff-0.5.tar.gz
| Download URL | pytest_ruff-0.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f611c780fc2b9b8d7041fa0e7589f0a9f352b288d0cfc330881101b35d382063
|
|
BLAKE2b-256 checksum How to use checksums |
325abee55130757fb4a14e0ac5d2c6558323275b5dccfa2f5353f3893299ff7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
|
Release files / pytest_ruff-0.5-py3-none-any.whl
| Download URL | pytest_ruff-0.5-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9db170d86fb167008e6702b4d79e2cccd8287f069c3a57f9261831cebdc4a31
|
|
BLAKE2b-256 checksum How to use checksums |
1dcaabfce6de0bb0f017ed05ef9f2330596235cc5a3341b4d8d40895682b3814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1015-azure
|