File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 if : steps.changes.outputs.code == 'true'
3636 uses : " actions/setup-python@v5"
3737 with :
38- python-version : " 3.8 "
38+ python-version : " 3.9 "
3939
4040 - name : Install dependencies 🔧
4141 if : steps.changes.outputs.code == 'true'
Original file line number Diff line number Diff line change 4040 if : steps.changes.outputs.code == 'true'
4141 uses : " actions/setup-python@v5"
4242 with :
43- python-version : " 3.8 "
43+ python-version : " 3.9 "
4444
4545 - name : Install dependencies 🔧
4646 run : |
Original file line number Diff line number Diff line change 4141from domdf_python_tools .paths import PathPlus
4242from domdf_python_tools .typing import PathLike
4343from domdf_python_tools .utils import stderr_writer
44- from flake8 .options .manager import OptionManager # type: ignore[import]
44+ from flake8 .options .manager import OptionManager # type: ignore[import-untyped ]
4545
4646# this package
4747from flake8_dunder_all .utils import find_noqa , get_docstring_lineno , mark_text_ranges
Original file line number Diff line number Diff line change 4848
4949# 3rd party
5050from astatine import mark_text_ranges
51- from flake8 import defaults # type: ignore[import]
51+ from flake8 import defaults # type: ignore[import-untyped ]
5252
5353__all__ = ("get_docstring_lineno" , "tidy_docstring" , "mark_text_ranges" )
5454
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ autodoc_exclude_members = [
127127]
128128
129129[tool .mypy ]
130- python_version = " 3.8 "
130+ python_version = " 3.9 "
131131namespace_packages = true
132132check_untyped_defs = true
133133warn_unused_ignores = true
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ conda_channels:
1717use_whey : True
1818sphinx_html_theme : furo
1919min_coverage : 100
20+ mypy_version : 1.16
21+ python_deploy_version : 3.9
2022
2123# Versions to run tests for
2224python_versions :
Original file line number Diff line number Diff line change 5656 pypy38-flake8{4,5,6,7}
5757 pypy39-flake8{4,5,6,7}
5858qa = mypy, lint
59- cov = py38 -flake84, coverage
59+ cov = py39 -flake84, coverage
6060
6161[testenv]
6262setenv =
@@ -118,7 +118,7 @@ commands =
118118 check-wheel-contents dist/
119119
120120[testenv:lint]
121- basepython = python3.8
121+ basepython = python3.9
122122changedir = {toxinidir}
123123ignore_errors = True
124124skip_install = False
@@ -148,33 +148,33 @@ deps =
148148commands = python3 -m flake8_rst_docstrings_sphinx flake8_dunder_all tests --allow-toolbox {posargs}
149149
150150[testenv:perflint]
151- basepython = python3.8
151+ basepython = python3.9
152152changedir = {toxinidir}
153153ignore_errors = True
154154skip_install = True
155155deps = perflint
156156commands = python3 -m perflint flake8_dunder_all {posargs}
157157
158158[testenv:mypy]
159- basepython = python3.8
159+ basepython = python3.9
160160ignore_errors = True
161161changedir = {toxinidir}
162162deps =
163- mypy ==0.971
163+ mypy ==1.16
164164 -r{toxinidir}/tests/requirements.txt
165165 -r{toxinidir}/stubs.txt
166166commands = mypy flake8_dunder_all tests {posargs}
167167
168168[testenv:pyup]
169- basepython = python3.8
169+ basepython = python3.9
170170skip_install = True
171171ignore_errors = True
172172changedir = {toxinidir}
173173deps = pyupgrade-directories
174174commands = pyup_dirs flake8_dunder_all tests --py36-plus --recursive
175175
176176[testenv:coverage]
177- basepython = python3.8
177+ basepython = python3.9
178178skip_install = True
179179ignore_errors = True
180180whitelist_externals = /bin/bash
You can’t perform that action at this time.
0 commit comments