File tree Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 35
35
if : steps.changes.outputs.code == 'true'
36
36
uses : " actions/setup-python@v5"
37
37
with :
38
- python-version : " 3.8 "
38
+ python-version : " 3.9 "
39
39
40
40
- name : Install dependencies 🔧
41
41
if : steps.changes.outputs.code == 'true'
Original file line number Diff line number Diff line change 40
40
if : steps.changes.outputs.code == 'true'
41
41
uses : " actions/setup-python@v5"
42
42
with :
43
- python-version : " 3.8 "
43
+ python-version : " 3.9 "
44
44
45
45
- name : Install dependencies 🔧
46
46
run : |
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ autodoc_exclude_members = [
124
124
]
125
125
126
126
[tool .mypy ]
127
- python_version = " 3.8 "
127
+ python_version = " 3.9 "
128
128
namespace_packages = true
129
129
check_untyped_defs = true
130
130
warn_unused_ignores = true
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ use_whey: true
15
15
min_coverage : 95
16
16
sphinx_html_theme : furo
17
17
docs_fail_on_warning : true
18
+ mypy_version : 1.16
19
+ python_deploy_version : 3.9
18
20
19
21
python_versions :
20
22
- ' 3.7'
Original file line number Diff line number Diff line change 38
38
39
39
# 3rd party
40
40
import click
41
- import entrypoints # type: ignore[import]
41
+ import entrypoints # type: ignore[import-untyped ]
42
42
from consolekit .terminal_colours import ColourTrilean , resolve_color_default
43
43
from consolekit .utils import coloured_diff
44
44
from domdf_python_tools .paths import PathPlus
Original file line number Diff line number Diff line change 50
50
py312-click{7,8}
51
51
py313-click{7,8}
52
52
qa = mypy, lint
53
- cov = py38 -click7, coverage
53
+ cov = py39 -click7, coverage
54
54
55
55
[testenv]
56
56
setenv =
@@ -110,7 +110,7 @@ commands =
110
110
check-wheel-contents dist/
111
111
112
112
[testenv:lint]
113
- basepython = python3.8
113
+ basepython = python3.9
114
114
changedir = {toxinidir}
115
115
ignore_errors = True
116
116
skip_install = True
@@ -140,32 +140,32 @@ deps =
140
140
commands = python3 -m flake8_rst_docstrings_sphinx snippet_fmt tests --allow-toolbox {posargs}
141
141
142
142
[testenv:perflint]
143
- basepython = python3.8
143
+ basepython = python3.9
144
144
changedir = {toxinidir}
145
145
ignore_errors = True
146
146
skip_install = True
147
147
deps = perflint
148
148
commands = python3 -m perflint snippet_fmt {posargs}
149
149
150
150
[testenv:mypy]
151
- basepython = python3.8
151
+ basepython = python3.9
152
152
ignore_errors = True
153
153
changedir = {toxinidir}
154
154
deps =
155
- mypy ==0.971
155
+ mypy ==1.16
156
156
-r{toxinidir}/tests/requirements.txt
157
157
commands = mypy snippet_fmt tests {posargs}
158
158
159
159
[testenv:pyup]
160
- basepython = python3.8
160
+ basepython = python3.9
161
161
skip_install = True
162
162
ignore_errors = True
163
163
changedir = {toxinidir}
164
164
deps = pyupgrade-directories
165
165
commands = pyup_dirs snippet_fmt tests --py36-plus --recursive
166
166
167
167
[testenv:coverage]
168
- basepython = python3.8
168
+ basepython = python3.9
169
169
skip_install = True
170
170
ignore_errors = True
171
171
whitelist_externals = /bin/bash
You can’t perform that action at this time.
0 commit comments