Hatch plugin to process reqstool-python-decorators when building with Hatch
Project description
Description
This documentation provides information on how to use the Reqstool Hatch Plugin. The plugin is designed to be used with the Hatch build tool and facilitates the integration of the Reqstool Decorators in your project.
Installation
To use the Reqstool Hatch Plugin, follow these steps:
- Update your project dependencies in the
pyproject.toml
file and ensure that the Reqstool Decorators' dependency is listed as follows;
dependencies = ["reqstool-python-decorators == <version>"]
When you declare this in the pyproject.toml file, you are specifying the required versions for the dependency of the Reqstool Decorators. This ensures that the correct version of the dependencies are used when installing and running your project.
Usage
Configuration
The plugin can be configured through the pyproject.toml
file. Configure plugin in pyproject.toml
as follows;
[tool.hatch.build.hooks.reqstool]
dependencies = ["reqstool-python-hatch-plugin == <version>"]
sources = ["src", "tests"]
dataset_directory = "docs/reqstool"
output_directory = "build/reqstool"
test_results = ["build/**/junit.xml"]
It specifies that the reqstool-python-hatch-plugin is a dependency for the build process, and it should be of a specific version.
Further it defines the paths where the plugin should be applied. In this case, it specifies that the plugin should be applied to files in the src and tests directories.
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
File details
Details for the file reqstool_python_hatch_plugin-0.1.0.tar.gz
.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5a9df7095b5016b5ff55d0ae272199e2ad173329c288be5aed6b525d8cb89b |
|
MD5 | e483a89e6a53a27fd5655726ad5df4bb |
|
BLAKE2b-256 | d8adee47dba75987d076a4bd616c5491e5bd1ebb8baeefeacafdb4fac61e78f5 |
Provenance
The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.0.tar.gz
:
Publisher:
publish_pypi_prod.yml
on luftfartsverket/reqstool-python-hatch-plugin
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
reqstool_python_hatch_plugin-0.1.0.tar.gz
- Subject digest:
9d5a9df7095b5016b5ff55d0ae272199e2ad173329c288be5aed6b525d8cb89b
- Sigstore transparency entry: 145061885
- Sigstore integration time:
- Predicate type:
File details
Details for the file reqstool_python_hatch_plugin-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97cf4507b8b69fe7573de8c4ab4f376572915dfe12ea337a3a3d0a070f06c1e8 |
|
MD5 | fbee81c2d87205f6adae106c5ab94694 |
|
BLAKE2b-256 | 664faaf11445351c802d6a1cc82582ecdb57feb7fa51132db2ce1d8922348e75 |
Provenance
The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.0-py3-none-any.whl
:
Publisher:
publish_pypi_prod.yml
on luftfartsverket/reqstool-python-hatch-plugin
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
reqstool_python_hatch_plugin-0.1.0-py3-none-any.whl
- Subject digest:
97cf4507b8b69fe7573de8c4ab4f376572915dfe12ea337a3a3d0a070f06c1e8
- Sigstore transparency entry: 145061887
- Sigstore integration time:
- Predicate type: