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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.1.tar.gz
  • Upload date:
  • Size: 4.6 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.1.tar.gz
Algorithm Hash digest
SHA256 8f45e75f73d8f2c3859f63469d2eefbd5bf0fa2bfea9f86130a0d427d05aae73
MD5 9bc5d6f412ed10bf3bd8154492552b8e
BLAKE2b-256 aa3afb694ed1a721e0e9c95eda182cd86cb52dc530bb90f61db9f19cb3551e52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_checkers-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4acea85b810965c27b5d7b6999dae83e7212bfa2892639248ff145fbea7abb84
MD5 a8f7d25d89ff9f0bde53b98a295ec164
BLAKE2b-256 b01a8bf79987986ff7debafdbfb65916a5881f3f27491e4290de39d40141a111

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