pypa-hatch/docs/plugins/environment-collector/reference.md

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

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