File tree 4 files changed +5
-9
lines changed
4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 18
18
steps :
19
19
- name : Determine matrix
20
20
id : generate_matrix
21
- uses : coactions/matrix@main
21
+ uses : coactions/matrix@v3
22
22
with :
23
23
other_names : |
24
24
lint
48
48
python -m pip install --upgrade pip
49
49
pip install tox>=4.0
50
50
51
- - name : tox run -e ${{ matrix.passed_name }}
52
- run : tox run -e ${{ matrix.passed_name }}
51
+ - name : ${{ matrix.name }}
52
+ run : ${{ matrix.command }}
53
53
54
54
check : # This job does nothing and is only used for the branch protection
55
55
if : always()
Original file line number Diff line number Diff line change 1
1
---
2
- default_language_version :
3
- # Enforce use of py310 because pylint does not support py311 yet, causing
4
- # failures for those happening to have that as default python.
5
- python : python3.10
6
2
repos :
7
3
- repo : https://github.com/pre-commit/pre-commit-hooks
8
4
rev : v4.5.0 # Use the ref you want to point at
Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ filterwarnings = [
71
71
]
72
72
73
73
[[tool .mypy .overrides ]]
74
- python_version = " 3.8"
75
74
module = [
76
75
" doc8._version" ,
77
76
" restructuredtext_lint" ,
78
77
" stevedore" ,
78
+ " tomli" ,
79
79
]
80
80
ignore_missing_imports = true
81
81
Original file line number Diff line number Diff line change 41
41
from tomllib import load as toml_load # type: ignore
42
42
except ImportError :
43
43
# py3.10 or older
44
- from tomli import load as toml_load
44
+ from tomli import load as toml_load # type: ignore[no-redef]
45
45
46
46
from stevedore import extension
47
47
You can’t perform that action at this time.
0 commit comments