Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit a0a278a

Browse files
committed
chore: fix details lost during rebse to updated main
1 parent 7294f00 commit a0a278a

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

noxfile.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ def lint_setup_py(session):
261261
session.run("python", "setup.py", "check", "--restructuredtext", "--strict")
262262

263263

264+
@nox.session(python=DEFAULT_PYTHON_VERSION)
265+
def pytype(session):
266+
"""Run type-checking."""
267+
session.install(".[grpc]", "pytype")
268+
session.run("pytype")
269+
264270
@nox.session(python=DEFAULT_PYTHON_VERSION)
265271
def mypy(session):
266272
"""Run type-checking."""

setup.cfg

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
[pytype]
2-
-python_version = 3.7
3-
+python_version = 3.9
4-
inputs =
5-
google/
6-
exclude =
7-
tests/
8-
output = .pytype/
9-
# Workaround for https://github.com/google/pytype/issues/150
10-
disable = pyi-error
1+
[pytype]
2+
python_version = 3.9
3+
inputs =
4+
google/
5+
exclude =
6+
tests/
7+
output = .pytype/
8+
# Workaround for https://github.com/google/pytype/issues/150
9+
disable = pyi-error

0 commit comments

Comments
 (0)