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.4.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.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e6e33225439ab8a1541fea0e3181be6c5a889a7b29b9e3f5462359fc9202ce32
MD5 41bf5f74dd6fb478b544a7a5c61f949f
BLAKE2b-256 1f980e1924b620d53d5ba4bef71955d49045efaed16aec85739d8c40eada57f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7a47a1bfa5dc41a706dc929c8e2e9711567022f121f6cadb3f846ca5a6fda9c1
MD5 112cd8ec9b34b5be91f3fff2288cbf0b
BLAKE2b-256 8afc5f7874b603037bfc356acbe85330645cc68a494dbde92822bce89e2bb97c

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.4-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