mirror of https://github.com/pypa/hatch.git
890 B
890 B
Environment collector plugins
Environment collectors allow for dynamically modifying environments or adding environments beyond those defined in config. Users can override default values provided by each environment.
Known third-party
- hatch-mkdocs - integrate MkDocs and infer dependencies into an env
Installation
Any required environment collectors that are not built-in must be manually installed alongside Hatch or listed in the tool.hatch.env.requires
array for automatic management:
[tool.hatch.env]
requires = [
"...",
]
::: hatch.env.collectors.plugin.interface.EnvironmentCollectorInterface options: members: - PLUGIN_NAME - root - config - get_initial_config - finalize_config - finalize_environments