Skip to content

Commit da86127

Browse files
committed
tests: remove pytype nox session
1 parent f0188c6 commit da86127

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

noxfile.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import unittest
2121

2222
# https://github.com/google/importlab/issues/25
23-
import nox # pytype: disable=import-error
23+
import nox
2424

2525

2626
BLACK_VERSION = "black==23.7.0"
@@ -41,7 +41,6 @@
4141
"unit_w_prerelease_deps",
4242
"unit_w_async_rest_extra",
4343
"cover",
44-
"pytype",
4544
"mypy",
4645
"lint",
4746
"lint_setup_py",
@@ -260,13 +259,6 @@ def lint_setup_py(session):
260259
session.run("python", "setup.py", "check", "--restructuredtext", "--strict")
261260

262261

263-
@nox.session(python=DEFAULT_PYTHON_VERSION)
264-
def pytype(session):
265-
"""Run type-checking."""
266-
session.install(".[grpc]", "pytype")
267-
session.run("pytype")
268-
269-
270262
@nox.session(python=DEFAULT_PYTHON_VERSION)
271263
def mypy(session):
272264
"""Run type-checking."""

setup.cfg

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
[pytype]
2-
python_version = 3.7
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)