Skip to content

Commit be238a5

Browse files
committed
removes pytype nox session as duplicative
1 parent 4d8f918 commit be238a5

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

packages/google-cloud-bigquery/noxfile.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import nox
2525

2626
MYPY_VERSION = "mypy==1.6.1"
27-
PYTYPE_VERSION = "pytype==2024.9.13"
2827
BLACK_VERSION = "black==23.7.0"
2928
ISORT_VERSION = "isort==5.10.1"
3029
BLACK_PATHS = (
@@ -79,7 +78,6 @@ def wrapper(*args, **kwargs):
7978
"blacken",
8079
"mypy",
8180
"mypy_samples",
82-
"pytype",
8381
"docs",
8482
"prerelease_deps",
8583
"core_deps_from_source",
@@ -202,22 +200,6 @@ def mypy(session):
202200
session.run("mypy", "-p", "google", "--show-traceback")
203201

204202

205-
@nox.session(python=DEFAULT_PYTHON_VERSION)
206-
@_calculate_duration
207-
def pytype(session):
208-
"""Run type checks with pytype."""
209-
# An indirect dependecy attrs==21.1.0 breaks the check, and installing a less
210-
# recent version avoids the error until a possibly better fix is found.
211-
# https://github.com/googleapis/google-cloud-python/issues/655
212-
213-
session.install("attrs==20.3.0")
214-
session.install("-e", ".[all]")
215-
session.install(PYTYPE_VERSION)
216-
session.run("python", "-m", "pip", "freeze")
217-
# See https://github.com/google/pytype/issues/464
218-
session.run("pytype", "-P", ".", "google/cloud/bigquery")
219-
220-
221203
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
222204
@_calculate_duration
223205
def system(session):

0 commit comments

Comments
 (0)