A pytest plugin to run the ty type checker
Project description
pytest-ty 
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
tychecks on source code when executingpytest.
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
pytestconfiguration: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.
Cookiecutter: https://github.com/audreyr/cookiecutter@hackebrot: https://github.com/hackebrotMIT: https://opensource.org/licenses/MITcookiecutter-pytest-plugin: https://github.com/pytest-dev/cookiecutter-pytest-pluginfile an issue: https://github.com/boidolr/pytest-ty/issuespytest: https://github.com/pytest-dev/pytesttox: https://tox.readthedocs.io/en/latest/pip: https://pypi.org/project/pip/PyPI: https://pypi.org/project
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60e0d37a10398ac8c50232c2c0328c92692f233c7262b7757cd0d72905fe2e69
|
|
| MD5 |
d1241903f6568d5c9e8e9926b9f26d39
|
|
| BLAKE2b-256 |
c5592d64a75f1f5b961c496a35f2e8c2c799f5c085e8f648af4a192a374d8f5a
|
Provenance
The following attestation bundles were made for pytest_ty-0.1.0.tar.gz:
Publisher:
publish.yaml on boidolr/pytest-ty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_ty-0.1.0.tar.gz -
Subject digest:
60e0d37a10398ac8c50232c2c0328c92692f233c7262b7757cd0d72905fe2e69 - Sigstore transparency entry: 244020640
- Sigstore integration time:
-
Permalink:
boidolr/pytest-ty@188b0d357062bf3049c412a785512ffad8b3a1fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/boidolr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@188b0d357062bf3049c412a785512ffad8b3a1fe -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5557edd18d7546862103240c724e35fc24f205d4a95715e33d894bcd6046c17
|
|
| MD5 |
4363eb257db4f8f31e1f097f969c9f9b
|
|
| BLAKE2b-256 |
cc0aa949598dc6c94b164eb54c0278d9a170c85da0662f27a2613621cbc53432
|
Provenance
The following attestation bundles were made for pytest_ty-0.1.0-py3-none-any.whl:
Publisher:
publish.yaml on boidolr/pytest-ty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytest_ty-0.1.0-py3-none-any.whl -
Subject digest:
f5557edd18d7546862103240c724e35fc24f205d4a95715e33d894bcd6046c17 - Sigstore transparency entry: 244020642
- Sigstore integration time:
-
Permalink:
boidolr/pytest-ty@188b0d357062bf3049c412a785512ffad8b3a1fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/boidolr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@188b0d357062bf3049c412a785512ffad8b3a1fe -
Trigger Event:
release
-
Statement type: