We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b86ef86 commit 7370db0Copy full SHA for 7370db0
backend/src/hatchling/metadata/core.py
@@ -69,6 +69,7 @@ def context(self) -> Context:
69
70
@cached_property
71
def core_raw_metadata(self) -> dict[str, Any]:
72
+ """Metadata from `pyproject.toml` or similar, possibly with dynamic fields overwritten by `PKG-INFO`."""
73
if 'project' not in self.config:
74
message = 'Missing `project` metadata table in configuration'
75
raise ValueError(message)
@@ -139,6 +140,7 @@ def version(self) -> str:
139
140
141
@property
142
def config(self) -> dict[str, Any]:
143
+ """The config dict, directly from `pyproject.toml` or similar."""
144
if self._config is None:
145
project_file = locate_file(self.root, 'pyproject.toml')
146
if project_file is None:
0 commit comments