Skip to content

Commit 52e18dd

Browse files
Ignore pyright errors in sync/async only stubs
1 parent 9727cbf commit 52e18dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ include = [
3333
exclude = [
3434
"**/*_pb2.py",
3535
"**/*_pb2_grpc.py",
36-
"test/test_concrete.py"
36+
"test/test_concrete.py",
3737
]
3838

3939
executionEnvironments = [
4040
# Due to how upb is typed, we need to disable incompatible variable override checks
4141
{ root = "test/generated", extraPaths = ["./"], reportIncompatibleVariableOverride = "none" },
4242
{ root = "test/generated-concrete", extraPaths = ["./"], reportIncompatibleVariableOverride = "none" },
43+
{ root = "test/generated-sync-only", extraPaths = ["./"], reportIncompatibleVariableOverride = "none" },
44+
{ root = "test/generated-async-only", extraPaths = ["./"], reportIncompatibleVariableOverride = "none" },
4345
{ root = "mypy_protobuf/extensions_pb2.pyi", reportIncompatibleVariableOverride = "none" },
4446
]

0 commit comments

Comments
 (0)