Skip to content

Commit 1d53c1e

Browse files
committed
Enable validation of init file examples
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 9797cd5 commit 1d53c1e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/frequenz/client/electricity_trading/conftest.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@
1010
from frequenz.repo.config.pytest import examples
1111
from sybil import Sybil
1212

13-
pytest_collect_file = Sybil(**examples.get_sybil_arguments()).pytest()
13+
args = examples.get_sybil_arguments()
14+
# Pop "excludes" which was added upstream to work around a sybil bug
15+
# with __init__.py files
16+
args.pop("excludes", None)
17+
18+
pytest_collect_file = Sybil(**args).pytest()

0 commit comments

Comments
 (0)