File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3131 runs-on : " ubuntu-latest"
3232 strategy :
3333 matrix :
34- toxenv : ["build", "pytype", "docs"]
34+ toxenv : ["build", "precommit", " pytype", "docs"]
3535 env :
3636 TOXENV : ${{ matrix.toxenv }}
3737
Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ deps =
1212commands =
1313 pytest {toxinidir} {posargs}
1414
15+ [testenv:precommit]
16+ description = Run the pre-commit hooks on all files
17+ deps =
18+ pre-commit
19+ commands =
20+ pre-commit install -f --install-hooks
21+ pre-commit run --all-files
22+
1523[testenv:update]
1624description = Update the tzdata contents
1725skip_install = True
3038commands =
3139 python bump_version.py {posargs}
3240
33-
3441[testenv:pytype]
3542description = Run typechecking
3643basepython = python3.7
You can’t perform that action at this time.
0 commit comments