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.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9831da7910fb95e248ea9c9dcedaa573e5c7b716fcccafa4e69f7249f4a1f14b
MD5 e0309be794546640d75fda77f119371a
BLAKE2b-256 68adf365b963ac306cb5b5ef0915ccd2f2e5fc451f57a1b91a34ff21358a01df

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c3185348eb017e7c15792a2206a6a923d1b413a6d2a03e15721b77b6a1682f7
MD5 f3f94c47ae7a632a84fd8d5c9be8f8bf
BLAKE2b-256 c9e974d4bc1251ac5d40429b654c3fa21dfe8d95ee269f9ec63049651ff83ed5

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page