pytest-ruff 0.0.5


pip install pytest-ruff==0.0.5

  Newer version available (0.5)

Released: Mar 22, 2023

Project Links

Meta
Author: Iuri de Silvio
Requires Python: >=3.7,<4.0

Classifiers

Development Status
  • 4 - Beta

Framework
  • Pytest

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3
  • Python :: 3 :: Only

Topic
  • Software Development :: Libraries :: Python Modules

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.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
ruff