Skip to content

Commit 415d9f6

Browse files
committed
Fix defaults.api_config documentation
The documentation was outdated. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent ab6d0b8 commit 415d9f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@
8888
api_config: _config.Config = common_config.copy()
8989
"""Default configuration for APIs.
9090
91-
Same as `common_config`, but with `source_paths` replacing `"src"` with `"py"`
92-
and `extra_paths` replacing `"tests"` with `"pytests"`.
91+
Same as `common_config`, but with an empty `source_paths` (as the sources are
92+
automatically generated, we don't want to test anything in there) and replacing `"src"`
93+
with `"py"` and `extra_paths` replacing `"tests"` with `"pytests"`.
9394
"""
9495

9596
# We don't check the sources at all because they are automatically generated.

0 commit comments

Comments
 (0)