Skip to content

Commit 290317c

Browse files
committed
Bump mypy
1 parent 3ce32c7 commit 290317c

File tree

5 files changed

+12
-10
lines changed

5 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: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ license-key = "MIT"
4545
package = "sphinx_debuginfo"
4646

4747
[tool.mypy]
48-
python_version = "3.8"
48+
python_version = "3.9"
4949
namespace_packages = true
5050
check_untyped_defs = true
5151
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 @@ use_whey: true
1515
enable_docs: false
1616
enable_conda: false
1717
min_coverage: 100
18+
mypy_version: 1.16
19+
python_deploy_version: 3.9
1820

1921
conda_channels:
2022
- conda-forge

tox.ini

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

5151
[testenv]
5252
setenv =
@@ -95,7 +95,7 @@ commands =
9595
check-wheel-contents dist/
9696

9797
[testenv:lint]
98-
basepython = python3.8
98+
basepython = python3.9
9999
changedir = {toxinidir}
100100
ignore_errors = True
101101
skip_install = True
@@ -125,33 +125,33 @@ deps =
125125
commands = python3 -m flake8_rst_docstrings_sphinx sphinx_debuginfo tests --allow-toolbox {posargs}
126126

127127
[testenv:perflint]
128-
basepython = python3.8
128+
basepython = python3.9
129129
changedir = {toxinidir}
130130
ignore_errors = True
131131
skip_install = True
132132
deps = perflint
133133
commands = python3 -m perflint sphinx_debuginfo {posargs}
134134

135135
[testenv:mypy]
136-
basepython = python3.8
136+
basepython = python3.9
137137
ignore_errors = True
138138
changedir = {toxinidir}
139139
deps =
140-
mypy==0.971
140+
mypy==1.16
141141
-r{toxinidir}/tests/requirements.txt
142142
-r{toxinidir}/stubs.txt
143143
commands = mypy sphinx_debuginfo tests {posargs}
144144

145145
[testenv:pyup]
146-
basepython = python3.8
146+
basepython = python3.9
147147
skip_install = True
148148
ignore_errors = True
149149
changedir = {toxinidir}
150150
deps = pyupgrade-directories
151151
commands = pyup_dirs sphinx_debuginfo tests --py36-plus --recursive
152152

153153
[testenv:coverage]
154-
basepython = python3.8
154+
basepython = python3.9
155155
skip_install = True
156156
ignore_errors = True
157157
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)