Skip to main content

A pytest plugin to run the ty type checker

Project description

pytest-ty Build Status

A pytest plugin to run the ty type checker


This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.

Features

  • Run ty checks on source code when executing pytest.

Configuration

Configure ty in pyproject.toml or ty.toml, see the ty README.

Installation

You can install "pytest-ty" via uv from GitHub:

uv add "pytest-ty @ git+https://github.com/boidolr/pytest-ty"

Usage

  • Activate the plugin when running pytest: pytest --ty
  • Activate via pytest configuration: addopts = ["--ty"]

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "pytest-ty" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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_ty-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

pytest_ty-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_ty-0.1.0.tar.gz.

File metadata

  • Download URL: pytest_ty-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytest_ty-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60e0d37a10398ac8c50232c2c0328c92692f233c7262b7757cd0d72905fe2e69
MD5 d1241903f6568d5c9e8e9926b9f26d39
BLAKE2b-256 c5592d64a75f1f5b961c496a35f2e8c2c799f5c085e8f648af4a192a374d8f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_ty-0.1.0.tar.gz:

Publisher: publish.yaml on boidolr/pytest-ty

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_ty-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_ty-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytest_ty-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5557edd18d7546862103240c724e35fc24f205d4a95715e33d894bcd6046c17
MD5 4363eb257db4f8f31e1f097f969c9f9b
BLAKE2b-256 cc0aa949598dc6c94b164eb54c0278d9a170c85da0662f27a2613621cbc53432

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_ty-0.1.0-py3-none-any.whl:

Publisher: publish.yaml on boidolr/pytest-ty

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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