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-0.3.0.tar.gz (5.1 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-0.3.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_checkers-0.3.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","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-0.3.0.tar.gz
Algorithm Hash digest
SHA256 44f3585887beee1fdea541257b009f7ee65b9b7e49440697cbcf331657e846b7
MD5 8fc7acb3acc2487a7fd5f50323a84995
BLAKE2b-256 b0b2c422a4c9f2316e54ac78dca53aaad3ac63b7660c1d2ba0cc4a459ea3d95c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_checkers-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","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-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 041bcafc431fc91f186435a4f1156453c6959ce8f4f40e08ab3c67134adbc5e8
MD5 b9cf2fc57c23d8ff339cb0e90e845e54
BLAKE2b-256 c2678202cf702f357ec8d9d833c0826f5502761519dd5d121c16294df37536cc

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