We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45fa1f commit 6757a7aCopy full SHA for 6757a7a
2 files changed
.github/workflows/tests.yml
@@ -31,7 +31,7 @@ jobs:
31
runs-on: "ubuntu-latest"
32
strategy:
33
matrix:
34
- toxenv: ["build", "pytype", "docs"]
+ toxenv: ["build", "precommit", "pytype", "docs"]
35
env:
36
TOXENV: ${{ matrix.toxenv }}
37
tox.ini
@@ -12,6 +12,14 @@ deps =
12
commands =
13
pytest {toxinidir} {posargs}
14
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
+
23
[testenv:update]
24
description = Update the tzdata contents
25
skip_install = True
@@ -30,7 +38,6 @@ deps =
30
38
39
python bump_version.py {posargs}
40
-
41
[testenv:pytype]
42
description = Run typechecking
43
basepython = python3.7
0 commit comments