Skip to main content

pytest plugin to check ruff requirements.

Project description

pytest-ruff

A pytest plugin to run ruff.

Installation

pip install pytest-ruff

Usage

pytest --ruff

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

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


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.0.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pytest_ruff-0.0.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_ruff-0.0.3.tar.gz.

File metadata

  • Download URL: pytest_ruff-0.0.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1031-azure

File hashes

Hashes for pytest_ruff-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ecc0876efaf54a402867f884a625eb6008e6b3bfa90f7fa3f68316ed4a1cf4d2
MD5 1f849166b4850674db6960afcd5c4f41
BLAKE2b-256 0dac6e44763621e928d61ecd37e97d5da5cf20ad75e2a9035facad8cc3226f57

See more details on using hashes here.

File details

Details for the file pytest_ruff-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pytest_ruff-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1031-azure

File hashes

Hashes for pytest_ruff-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae077896e29c2ac137cf518260028284b9bcadc30e42dd2bc3e4f40b3450f04c
MD5 6ff1abe522012bf7165916ec6f398855
BLAKE2b-256 472d9e9cd96cca7ba053cf1244efd6a01c3e95ddd87c25e6eaa6632e63cffb3e

See more details on using hashes here.

Supported by

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