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.3.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.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 327e31ca18faae5639e728b1cf1ee50ac6af0b948a8582f5d0275d8f22208375
MD5 1f7db89c08e3e9b01bddd4d516481985
BLAKE2b-256 29eb38c0275828799ab595365e4486516dfaae44876576757ec13d4cac07fabf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c973308c188343c19f1044fc298e5c6e87aa540d745dd3f8c74c59b0cd56dff
MD5 8dc826acd1b89d89c0aae6102a1427b7
BLAKE2b-256 88602ba4a91d2d68b5c9cea0359311eb4a4369c008cbf4a95449fdfefa8f3e01

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