Skip to content

Commit 8061a31

Browse files
committed
Bump mypy
1 parent 10c152f commit 8061a31

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
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: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ autodoc_exclude_members = [
119119
]
120120

121121
[tool.mypy]
122-
python_version = "3.8"
122+
python_version = "3.9"
123123
namespace_packages = true
124124
check_untyped_defs = true
125125
warn_unused_ignores = true

repo_helper.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ use_whey: True
1414
min_coverage: 95
1515
sphinx_html_theme: furo
1616
docs_fail_on_warning: true
17+
mypy_version: 1.16
18+
python_deploy_version: 3.9
1719

1820
conda_channels:
1921
- conda-forge

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ requires =
4444
[envlists]
4545
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
4646
qa = mypy, lint
47-
cov = py38, coverage
47+
cov = py39, coverage
4848

4949
[testenv]
5050
setenv =
@@ -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,25 +131,25 @@ deps =
131131
commands = python3 -m flake8_rst_docstrings_sphinx coverage_pyver_pragma tests --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 coverage_pyver_pragma {posargs}
140140

141141
[testenv:mypy]
142-
basepython = python3.8
142+
basepython = python3.9
143143
ignore_errors = True
144144
changedir = {toxinidir}
145145
deps =
146-
mypy==0.971
146+
mypy==1.16
147147
-r{toxinidir}/tests/requirements.txt
148148
-r{toxinidir}/stubs.txt
149149
commands = mypy coverage_pyver_pragma tests {posargs}
150150

151151
[testenv:pyup]
152-
basepython = python3.8
152+
basepython = python3.9
153153
skip_install = True
154154
ignore_errors = True
155155
changedir = {toxinidir}

0 commit comments

Comments
 (0)