Skip to content

Commit 918df2d

Browse files
committed
Bump mypy
1 parent 4de11a0 commit 918df2d

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-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
@@ -43,7 +43,7 @@ package = "html_section"
4343
always = [ "html_section",]
4444

4545
[tool.mypy]
46-
python_version = "3.8"
46+
python_version = "3.9"
4747
namespace_packages = true
4848
check_untyped_defs = true
4949
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
enable_conda: false
1515
enable_docs: false
1616
min_coverage: 95
17+
mypy_version: 1.16
18+
python_deploy_version: 3.9
1719

1820
python_versions:
1921
3.7:

tox.ini

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# * coverage:run
1919
# * coverage:report
2020
# * check-wheel-contents
21+
# * pytest
2122

2223
[tox]
2324
envlist =
@@ -62,7 +63,7 @@ test =
6263
py312-docutils{0.16,0.17,0.18}
6364
py313-docutils{0.16,0.17,0.18}
6465
qa = mypy, lint
65-
cov = py38-sphinx3.3, coverage
66+
cov = py39-sphinx3.3, coverage
6667

6768
[testenv:.package]
6869
setenv =
@@ -88,7 +89,7 @@ commands =
8889
check-wheel-contents dist/
8990

9091
[testenv:lint]
91-
basepython = python3.8
92+
basepython = python3.9
9293
changedir = {toxinidir}
9394
ignore_errors = True
9495
skip_install = True
@@ -118,34 +119,34 @@ deps =
118119
commands = python3 -m flake8_rst_docstrings_sphinx html_section tests --allow-toolbox {posargs}
119120

120121
[testenv:perflint]
121-
basepython = python3.8
122+
basepython = python3.9
122123
changedir = {toxinidir}
123124
ignore_errors = True
124125
skip_install = True
125126
deps = perflint
126127
commands = python3 -m perflint html_section {posargs}
127128

128129
[testenv:mypy]
129-
basepython = python3.8
130+
basepython = python3.9
130131
ignore_errors = True
131132
changedir = {toxinidir}
132133
deps =
133-
mypy==0.971
134+
mypy==1.16
134135
-r{toxinidir}/tests/requirements.txt
135136
-r{toxinidir}/stubs.txt
136137
types-docutils
137138
commands = mypy html_section tests {posargs}
138139

139140
[testenv:pyup]
140-
basepython = python3.8
141+
basepython = python3.9
141142
skip_install = True
142143
ignore_errors = True
143144
changedir = {toxinidir}
144145
deps = pyupgrade-directories
145146
commands = pyup_dirs html_section tests --py36-plus --recursive
146147

147148
[testenv:coverage]
148-
basepython = python3.8
149+
basepython = python3.9
149150
skip_install = True
150151
ignore_errors = True
151152
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)