Skip to content

Commit 01a8ffe

Browse files
committed
Bump mypy
1 parent 98db9fc commit 01a8ffe

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

.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
@@ -123,7 +123,7 @@ autodoc_exclude_members = [
123123
]
124124

125125
[tool.mypy]
126-
python_version = "3.8"
126+
python_version = "3.9"
127127
namespace_packages = true
128128
check_untyped_defs = true
129129
warn_unused_ignores = true

repo_helper.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ sphinx_html_theme: furo
1616
min_coverage: 100
1717
docs_fail_on_warning: true
1818
preserve_custom_theme: true
19+
mypy_version: 1.16
20+
python_deploy_version: 3.9
1921

2022
conda_channels:
2123
- conda-forge

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test =
5555
pypy38
5656
pypy39
5757
qa = mypy, lint
58-
cov = py38, coverage
58+
cov = py39, coverage
5959

6060
[testenv:.package]
6161
setenv =
@@ -102,7 +102,7 @@ commands =
102102
check-wheel-contents dist/
103103

104104
[testenv:lint]
105-
basepython = python3.8
105+
basepython = python3.9
106106
changedir = {toxinidir}
107107
ignore_errors = True
108108
skip_install = True
@@ -140,25 +140,25 @@ deps = perflint
140140
commands = python3 -m perflint dict2css {posargs}
141141

142142
[testenv:mypy]
143-
basepython = python3.8
143+
basepython = python3.9
144144
ignore_errors = True
145145
changedir = {toxinidir}
146146
deps =
147-
mypy==0.971
147+
mypy==1.16
148148
-r{toxinidir}/tests/requirements.txt
149149
-r{toxinidir}/stubs.txt
150150
commands = mypy dict2css tests {posargs}
151151

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

160160
[testenv:coverage]
161-
basepython = python3.8
161+
basepython = python3.9
162162
skip_install = True
163163
ignore_errors = True
164164
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)