Hatch build hook plugin for reqstool that collects decorated code and generates annotations.yml during hatch build.
Add to your pyproject.toml:
[build-system]
requires = [
"hatchling",
"reqstool-python-hatch-plugin==<version>",
]Configure the plugin in pyproject.toml:
[tool.hatch.build.hooks.reqstool]
sources = ["src", "tests"]
test_results = "build/**/junit.xml"
dataset_directory = "docs/reqstool"
output_directory = "build/reqstool"The plugin uses reqstool-python-decorators for processing.
Full documentation can be found here.
See the organization-wide CONTRIBUTING.md.
MIT License.