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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_ruff-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.0 Linux/5.15.0-1034-azure

File hashes

Hashes for pytest_ruff-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8ac13eb08727c6eb8ab4e30ca03d77eedbcf3f6e7ae26c77339a16fc1953dddf
MD5 935e9602eb2c1169b8fd586f01c35fc6
BLAKE2b-256 1ab460ec9ec08cfb88b56b7fdfb7e197e43352d08ec38898781d96b1cf16b363

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pytest_ruff-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46cb98a39f88573a342b8c95bbe9770347648c3321e4fe77473aded5ceff66b2
MD5 7e7bc3899d31c3c981e2889d0b45535a
BLAKE2b-256 4fa107eaf6677349ca16b841c71deb59d1a652b6f09e3ebd646c0faa1c33ecd2

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