Commit 6adce31
authored
Add mypy as pre-commit hook (#467)
* [refactor] Run mypy as part of the pre-commit hooks.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Use pre-commit directly, instead of starting it via a tox environment.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [refactor] Removed obsolete "lint" tox environment.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Run lint step with Python 3.11.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Extracted environment variable for the latest Python version.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Avoid checking out unnecessary Git history during deployment step.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Avoid checking out unnecessary Git history during test step.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
* [ci] Removed obsolete USING_COVERAGE env variable.
We record coverage for all interpreters and merge them afterwards. There is no longer a need to specify the environment we want to use for measuring coverage.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>1 parent ed0666c commit 6adce31
File tree
4 files changed
+15
-31
lines changed- .github/workflows
4 files changed
+15
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
34 | | - | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
56 | | - | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
65 | | - | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 23 | | |
33 | 24 | | |
34 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 26 | | |
37 | 27 | | |
38 | 28 | | |
| |||
0 commit comments