Skip to content

Commit 485c677

Browse files
committed
Bump mypy
1 parent 8ee55bb commit 485c677

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
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'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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: |

.github/workflows/python_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
37-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3939
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4040
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ package = "testing_tox"
4242
always = [ "testing_tox",]
4343

4444
[tool.mypy]
45-
python_version = "3.8"
45+
python_version = "3.9"
4646
namespace_packages = true
4747
check_untyped_defs = true
4848
warn_unused_ignores = true

repo_helper.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ enable_docs: False
1515
enable_tests: False
1616
on_pypi: False
1717
use_whey: true
18+
mypy_version: 1.16
19+
python_deploy_version: 3.9
1820

1921
python_versions:
2022
- 3.7

testing_tox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
# 3rd party
3636
import pytest
37-
import tox.reporter # type: ignore[import]
37+
import tox.reporter # type: ignore[import-untyped]
3838
from domdf_python_tools.paths import PathPlus, in_directory
3939

4040
__author__: str = "Dominic Davis-Foster"

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ commands =
101101
check-wheel-contents dist/
102102

103103
[testenv:lint]
104-
basepython = python3.8
104+
basepython = python3.9
105105
changedir = {toxinidir}
106106
ignore_errors = True
107107
skip_install = True
@@ -131,22 +131,22 @@ deps =
131131
commands = python3 -m flake8_rst_docstrings_sphinx testing_tox --allow-toolbox {posargs}
132132

133133
[testenv:perflint]
134-
basepython = python3.8
134+
basepython = python3.9
135135
changedir = {toxinidir}
136136
ignore_errors = True
137137
skip_install = True
138138
deps = perflint
139139
commands = python3 -m perflint testing_tox {posargs}
140140

141141
[testenv:mypy]
142-
basepython = python3.8
142+
basepython = python3.9
143143
ignore_errors = True
144144
changedir = {toxinidir}
145-
deps = mypy==0.971
145+
deps = mypy==1.16
146146
commands = mypy testing_tox {posargs}
147147

148148
[testenv:pyup]
149-
basepython = python3.8
149+
basepython = python3.9
150150
skip_install = True
151151
ignore_errors = True
152152
changedir = {toxinidir}

0 commit comments

Comments
 (0)