diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index cb89b2e32..a67698f8f 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737 + digest: sha256:74124fe59b8859f30143dcdea7b78300046d97de816dc53c0e381308a5f4f8bc diff --git a/noxfile.py b/noxfile.py index 4341577a0..931c23ad2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -27,7 +27,6 @@ BLACK_VERSION = "black==19.10b0" BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] -MYPY_VERSION = "mypy==0.910" PYTYPE_VERSION = "pytype==2021.4.9" @@ -45,7 +44,6 @@ "lint", "lint_setup_py", "blacken", - "mypy", "pytype", "docs", ] @@ -54,24 +52,10 @@ nox.options.error_on_missing_interpreters = True -@nox.session(python=DEFAULT_PYTHON_VERSION) -def mypy(session): - """Run type checks with mypy.""" - session.install("-e", ".") - session.install(MYPY_VERSION) - - # Just install the type info directly, since "mypy --install-types" might require - # an additional pass. - session.install("types-protobuf", "types-setuptools") - - # Check the hand-written layer. - session.run("mypy", "google/cloud") - - @nox.session(python=DEFAULT_PYTHON_VERSION) def pytype(session): """Run type checks.""" - session.install("-e", ".") + session.install("-e", ".[all]") session.install(PYTYPE_VERSION) session.run("pytype")