We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8676d68 commit 0467a79Copy full SHA for 0467a79
agentstack/generation/files.py
@@ -113,10 +113,25 @@ def __init__(self, filename: str = PYPROJECT_FILENAME):
113
114
@property
115
def project_metadata(self) -> dict:
116
+ """
117
+ [project]
118
+ name = "project_name"
119
+ version = "0.0.1"
120
+ description = "foo bar"
121
+ authors = [
122
+ { name = "Name <Email>" }
123
+ ]
124
+ license = { text = "MIT" }
125
+ requires-python = ">=3.10"
126
+
127
+ dependencies = [
128
+ ...
129
130
131
try:
- return self._data['tool']['poetry']
132
+ return self._data['project']
133
except KeyError:
- raise KeyError("No poetry metadata found in pyproject.toml.")
134
+ raise KeyError("No project metadata found in pyproject.toml.")
135
136
137
def project_name(self) -> str:
0 commit comments