Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -41,7 +41,6 @@
"unit_w_prerelease_deps",
"unit_w_async_rest_extra",
"cover",
"pytype",
"mypy",
"lint",
"lint_setup_py",
Expand Down Expand Up @@ -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."""
Expand Down
9 changes: 0 additions & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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