topmark.toml.pyproject¶
Helpers for extracting TopMark TOML content from pyproject.toml.
This module contains small, schema-aware helpers for locating TopMark's
[tool.topmark] table inside a parsed pyproject.toml document.
extract_pyproject_topmark_table ¶
Return the [tool.topmark] table from a parsed pyproject.toml mapping.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
TomlTable
|
Parsed TOML document mapping. |
required |
Returns:
| Type | Description |
|---|---|
TomlTable | None
|
The nested |
TomlTable | None
|
otherwise |