Skip to main content

Pytest Plugin for dry-run checks LSPs, Type Checkers, Linters, and Formatters during testing

Project description

GitHub Release PyPI Version Python Versions License Coverage Tox tests PyPI - Downloads

pytest-checkers

Use desired LSPs, type checkers, linters, and formatters (diff only).

Available optional dependencies:

pytest_checkers[black,isort,flake8,mypy,pyright,ruff,ty]

either of the above, or

pytest_checkers[all]

Simple flags: --ruff --mypy etc. or just --checkers for all the dependencies installed.

Use pyproject.toml (and .flake8 until they finally decide to move) for your preferred settings for every tool.

Note

pyright installs pyright[nodejs]

isort install isort[colors]

Kudos

All of them are somewhat different from what I wanted and made here:

pytest-black

pytest-isort

pytest-flake8

pytest-mypy

pytest-pyright

pytest-ruff

pytest-ty

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_checkers-1.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_checkers-1.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pytest_checkers-1.0.2.tar.gz.

File metadata

  • Download URL: pytest_checkers-1.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pytest_checkers-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c3562bcbdb384dd888c705cbc5d831cd9b09ad0c646c529deab9bd9f7c3216b4
MD5 7bdae204a9e803fe18f0d7a6070ce4bb
BLAKE2b-256 6fd1f0a2f949a7ae989ab69bfc5551f245b52b8725bf2093cc8f3235d3bc5590

See more details on using hashes here.

File details

Details for the file pytest_checkers-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pytest_checkers-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pytest_checkers-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f688a6330584745108739c239ff8dcad19a817262dd06ce81eab5203f492342
MD5 24450ae4b7a755647681029f26db894b
BLAKE2b-256 d5a594ac194fc831bb0d2af3695f43d701a4fa1d0cb25838076dd3da4b9b16a7

See more details on using hashes here.

Supported by

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