Skip to main content

Hatch plugin to process reqstool-python-decorators when building with Hatch

Project description

Commit Activity GitHub Issues License Build Static Badge

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.tomlas 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

reqstool_python_hatch_plugin-0.1.5.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

reqstool_python_hatch_plugin-0.1.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file reqstool_python_hatch_plugin-0.1.5.tar.gz.

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f287b12062a699c2528f77eabca670003946a435276b56f6c562d816ae2d9794
MD5 021df6ba0c404bdb82d4ed35fc301feb
BLAKE2b-256 4bd698a0bf0a3f7f0866ce6a98c62ae4c8ac903d92e0c7da5b56aab8fa9436c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.5.tar.gz:

Publisher: publish_pypi_prod.yml on luftfartsverket/reqstool-python-hatch-plugin

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

File details

Details for the file reqstool_python_hatch_plugin-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1d4069a1168b3f542e1ca43e3510175da217b4736e2aafb671491e33433012ac
MD5 b2d3d79b91466b726770547a4f7ec852
BLAKE2b-256 d9fef4f4ff783606bc9d0fa54e99b8748a2ea9f0cd5cbc89f8f3e40b506640e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.5-py3-none-any.whl:

Publisher: publish_pypi_prod.yml on luftfartsverket/reqstool-python-hatch-plugin

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