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

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.0.tar.gz (4.5 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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 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.0.tar.gz
Algorithm Hash digest
SHA256 c5de579a0610a45a5cf80d1191196c8c86838981dfb790bc410af43858952bd8
MD5 55736eda426cdee5e7f7ca05d729acda
BLAKE2b-256 6a00de0a8f0cd1c70c1a5c2d3172a64feb6181592ea06fc97bc3ae54b97078d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fac9513fbfa78fa87c3292f81ac93bcc92f871086ac4c70ee9a742a513e96ff2
MD5 438a7f7f87aae433c6c40a7916fbe22e
BLAKE2b-256 9a0fa732c9734fb694123a05f66ccb78fa29e80aabc8764327071f2c1cdca68c

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