File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323plugins { id ' org.apache.beam.module' }
2424applyPythonNature()
2525
26+ toxTask " lintPy310" , " py310-lint"
27+ lint. dependsOn lintPy310
28+
29+ toxTask " mypyPy310" , " py310-mypy"
30+ lint. dependsOn mypyPy310
31+
2632// Required to setup a Python 3 virtualenv and task names.
2733pythonVersion = ' 3.10'
2834
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ commands =
107107 {toxinidir}/scripts/run_pytest.sh {envname} " {posargs}" " --cov-report=xml --cov=. --cov-append"
108108 codecov -F python
109109
110- [testenv:py37 -lint]
110+ [testenv:py310 -lint]
111111# Don't set TMPDIR to avoid "AF_UNIX path too long" errors in pylint.
112112setenv =
113113# keep the version of pylint in sync with the 'rev' in .pre-commit-config.yaml
@@ -129,7 +129,7 @@ deps =
129129commands =
130130 time {toxinidir}/scripts/run_whitespacelint.sh
131131
132- [testenv:py37 -mypy]
132+ [testenv:py310 -mypy]
133133deps =
134134 -r build-requirements.txt
135135 mypy ==0.782
You can’t perform that action at this time.
0 commit comments