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.3.tar.gz (9.2 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 04149b08f4ccaf168098436e80da0a9387a3a635d94caecc21167f395550e3cf
MD5 4c1a11cee268949d9241ade9364e239e
BLAKE2b-256 aa560057e18095ad43b0a43e9ca05ac3b7fc91d91a4bd3af37514c5268729e6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b5fb02cb7ff4ed1cd668458ede4835b2ec49091e77a92482e6c3b9ab4abccb5
MD5 d216de43101641dfb5b56d8953f1a0be
BLAKE2b-256 186da40e81a37c782b93ae643905c1851f0a50db04bb152ab198dab018b8a1ee

See more details on using hashes here.

Provenance

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