Skip to content

Commit 334f21d

Browse files
committed
Improve documentation
Signed-off-by: Leandro Lucarella <leandro.lucarella@frequenz.com>
1 parent cffbb02 commit 334f21d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

  • src/frequenz/repo/config/nox

src/frequenz/repo/config/nox/util.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,11 @@ def find_toplevel_package_dirs(
167167
def min_dependencies() -> list[str]:
168168
"""Extract the minimum dependencies from pyproject.toml.
169169
170-
Raises:
171-
RuntimeError: If minimun dependencies are not properly
172-
set in pyproject.toml.
173-
174170
Returns:
175-
the minimun dependencies defined in pyproject.toml.
171+
The minimun dependencies defined in pyproject.toml.
176172
173+
Raises:
174+
RuntimeError: If minimun dependencies are not properly set in pyproject.toml.
177175
"""
178176
with open("pyproject.toml", "rb") as toml_file:
179177
data = _tomllib.load(toml_file)

0 commit comments

Comments
 (0)