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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f3e70b58cf51c016d56b3a693f74e1dc1b644b6aad9a19d387b9a67110bf1f92
MD5 ce4c1ae8ef26ead4a5e7fd61d4aad097
BLAKE2b-256 64a0c48a7accfb846532ac9f6737e5c4ff6dee0f809e878298dbde58abc0c796

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for reqstool_python_hatch_plugin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c06c1248b7fa25193208024d6e053d3c343ee9f388837c6f66687a80bad22401
MD5 5d9ff9338564731760b8ce98a63e0e3d
BLAKE2b-256 bdf24389b9aef6b0b8244db6a9c3b2a2a91ba25f7e411a3577a3a0b08e7f5aaa

See more details on using hashes here.

Provenance

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