Skip to content

Commit f721297

Browse files
committed
Also parse init files in Sybil
It seems newer versions have no issue anymore with this. Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent a984cfe commit f721297

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
## Bug Fixes
3131

32-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
32+
* Sybil now parses the `__init__.py` file as well. Previously it was disabled due to an upstream bug.
3333

3434
### Cookiecutter template
3535

src/frequenz/repo/config/pytest/examples.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,4 @@ def get_sybil_arguments() -> dict[str, Any]:
228228
return {
229229
"parsers": [MyPythonCodeBlockParser()],
230230
"patterns": ["*.py"],
231-
# This is a hack because Sybil seems to have issues with `__init__.py` files.
232-
# See https://github.com/frequenz-floss/frequenz-repo-config-python/issues/113
233-
# for details
234-
"excludes": ["__init__.py"],
235231
}

0 commit comments

Comments
 (0)