Skip to content

Commit a04c1f1

Browse files
committed
Bump mypy
1 parent 2ccd9b5 commit a04c1f1

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
@@ -128,7 +128,7 @@ conda-channels = [ "conda-forge", "domdfcoding",]
128128
extras = "all"
129129

130130
[tool.mypy]
131-
python_version = "3.8"
131+
python_version = "3.9"
132132
namespace_packages = true
133133
check_untyped_defs = true
134134
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 @@ short_desc: 'Move some of your Sphinx configuration into pyproject.toml'
1414
use_whey: true
1515
min_coverage: 100
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: 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 =
@@ -103,7 +103,7 @@ commands =
103103
check-wheel-contents dist/
104104

105105
[testenv:lint]
106-
basepython = python3.8
106+
basepython = python3.9
107107
changedir = {toxinidir}
108108
ignore_errors = True
109109
skip_install = True
@@ -133,33 +133,33 @@ deps =
133133
commands = python3 -m flake8_rst_docstrings_sphinx sphinx_pyproject tests --allow-toolbox {posargs}
134134

135135
[testenv:perflint]
136-
basepython = python3.8
136+
basepython = python3.9
137137
changedir = {toxinidir}
138138
ignore_errors = True
139139
skip_install = True
140140
deps = perflint
141141
commands = python3 -m perflint sphinx_pyproject {posargs}
142142

143143
[testenv:mypy]
144-
basepython = python3.8
144+
basepython = python3.9
145145
ignore_errors = True
146146
changedir = {toxinidir}
147147
deps =
148-
mypy==0.971
148+
mypy==1.16
149149
-r{toxinidir}/tests/requirements.txt
150150
-r{toxinidir}/stubs.txt
151151
commands = mypy sphinx_pyproject tests {posargs}
152152

153153
[testenv:pyup]
154-
basepython = python3.8
154+
basepython = python3.9
155155
skip_install = True
156156
ignore_errors = True
157157
changedir = {toxinidir}
158158
deps = pyupgrade-directories
159159
commands = pyup_dirs sphinx_pyproject tests --py36-plus --recursive
160160

161161
[testenv:coverage]
162-
basepython = python3.8
162+
basepython = python3.9
163163
skip_install = True
164164
ignore_errors = True
165165
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)