diff --git a/sdks/python/test-suites/tox/py310/build.gradle b/sdks/python/test-suites/tox/py310/build.gradle index 16cf6e9f9b44..dfc079ea68c5 100644 --- a/sdks/python/test-suites/tox/py310/build.gradle +++ b/sdks/python/test-suites/tox/py310/build.gradle @@ -23,6 +23,9 @@ plugins { id 'org.apache.beam.module' } applyPythonNature() +task lint {} +check.dependsOn lint + toxTask "lintPy310", "py310-lint" lint.dependsOn lintPy310 diff --git a/sdks/python/test-suites/tox/py37/build.gradle b/sdks/python/test-suites/tox/py37/build.gradle index 2ea0e46ca5be..8246640c6378 100644 --- a/sdks/python/test-suites/tox/py37/build.gradle +++ b/sdks/python/test-suites/tox/py37/build.gradle @@ -26,15 +26,6 @@ applyPythonNature() // Required to setup a Python 3 virtualenv and task names. pythonVersion = '3.7' -task lint {} -check.dependsOn lint - -toxTask "lintPy37", "py37-lint" -lint.dependsOn lintPy37 - -toxTask "mypyPy37", "py37-mypy" -lint.dependsOn mypyPy37 - apply from: "../common.gradle" // TODO(https://github.com/apache/beam/issues/20051): Remove this once tox uses isolated builds.