Skip to content

Commit 5b229ab

Browse files
authored
Ignore __init__.py in snippets.toml (#9272)
Adding that `__init__.py` in #9260 made mypy happy but snippets sad. It's now explicitly ignored.
1 parent d5482b5 commit 5b229ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/snippets/snippets.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ features = [
7676
# You should only ever use this if the test isn't implemented and cannot yet be implemented
7777
# for one or more specific SDKs.
7878
[opt_out.run]
79+
"__init__" = ["py"] # That init file is to make mypy happy.
7980
"concepts/explicit_recording" = [ # python-specific check
8081
"cpp",
8182
"rust",

0 commit comments

Comments
 (0)