Skip to content

Commit 49eb2dc

Browse files
authored
1 parent f18354d commit 49eb2dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ def lint(session):
4242
def mypy(session):
4343
"""Run type-checking."""
4444
session.install(".", "mypy")
45+
# Exclude types-protobuf==4.24.0.20240106
46+
# See https://github.com/python/typeshed/issues/11254
4547
session.install(
4648
"types-setuptools",
4749
"types-requests",
4850
"types-mock",
49-
"types-protobuf",
51+
"types-protobuf!=4.24.0.20240106",
5052
)
5153
session.run("mypy", "-p", "google", "-p", "tests")
5254

0 commit comments

Comments
 (0)