Skip to main content

pytest plugin to check ruff requirements.

Reason this release was yanked:

Broken release

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


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

Uploaded Source

Built Distribution

pytest_ruff-0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_ruff-0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1015-azure

File hashes

Hashes for pytest_ruff-0.2.tar.gz
Algorithm Hash digest
SHA256 c76f38ef547aca44ec5e282b38f091a7758d566e5488efa7945b888cb2bc3a54
MD5 c96016acf32d8149d0f03915cd04ddcf
BLAKE2b-256 f3a64f7cbf4ea62ec0dee166e5d8694c007e15352ec75fb6554b7b339e4b09b1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pytest_ruff-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1015-azure

File hashes

Hashes for pytest_ruff-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4cf7ee5dd84acad3d469ee07b16845243021487605b0ab920e1def61b0bd67f
MD5 89d86741c920f96f30e58287de76f7b9
BLAKE2b-256 d6c12d09c09c262d06db7e711f33912446432aff0d34d1877dd47022c382923b

See more details on using hashes here.

Provenance

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