diff --git a/noxfile.py b/noxfile.py index 9f53dbde..6277d6f6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,7 +20,7 @@ import unittest # https://github.com/google/importlab/issues/25 -import nox # pytype: disable=import-error +import nox BLACK_VERSION = "black==23.7.0" @@ -41,7 +41,6 @@ "unit_w_prerelease_deps", "unit_w_async_rest_extra", "cover", - "pytype", "mypy", "lint", "lint_setup_py", @@ -260,13 +259,6 @@ def lint_setup_py(session): session.run("python", "setup.py", "check", "--restructuredtext", "--strict") -@nox.session(python=DEFAULT_PYTHON_VERSION) -def pytype(session): - """Run type-checking.""" - session.install(".[grpc]", "pytype") - session.run("pytype") - - @nox.session(python=DEFAULT_PYTHON_VERSION) def mypy(session): """Run type-checking.""" diff --git a/setup.cfg b/setup.cfg index f7b5a3bc..e69de29b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +0,0 @@ -[pytype] -python_version = 3.7 -inputs = - google/ -exclude = - tests/ -output = .pytype/ -# Workaround for https://github.com/google/pytype/issues/150 -disable = pyi-error