|
24 | 24 | import nox |
25 | 25 |
|
26 | 26 | MYPY_VERSION = "mypy==1.6.1" |
27 | | -PYTYPE_VERSION = "pytype==2024.9.13" |
28 | 27 | BLACK_VERSION = "black==23.7.0" |
29 | 28 | ISORT_VERSION = "isort==5.10.1" |
30 | 29 | BLACK_PATHS = ( |
@@ -79,7 +78,6 @@ def wrapper(*args, **kwargs): |
79 | 78 | "blacken", |
80 | 79 | "mypy", |
81 | 80 | "mypy_samples", |
82 | | - "pytype", |
83 | 81 | "docs", |
84 | 82 | "prerelease_deps", |
85 | 83 | "core_deps_from_source", |
@@ -202,22 +200,6 @@ def mypy(session): |
202 | 200 | session.run("mypy", "-p", "google", "--show-traceback") |
203 | 201 |
|
204 | 202 |
|
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 | | - |
221 | 203 | @nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS) |
222 | 204 | @_calculate_duration |
223 | 205 | def system(session): |
|
0 commit comments