Skip to content

Commit 2608280

Browse files
committed
Bump mypy
1 parent 98bbaa4 commit 2608280

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
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.7"
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.7"
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.7"
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ version: '0.5.0'
1010
license: 'MIT'
1111
short_desc: 'A tool to check all modules can be correctly imported.'
1212

13-
python_deploy_version: 3.6
13+
mypy_version: 1.16
14+
python_deploy_version: 3.9
1415
use_whey: true
1516
min_coverage: 98
1617
enable_conda: false

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test =
5656
pypy38-click{7.1,8.0,8.1}
5757
pypy39-click{7.1,8.0,8.1}
5858
qa = mypy, lint
59-
cov = py37-click7.1, coverage
59+
cov = py39-click7.1, coverage
6060

6161
[testenv]
6262
setenv =
@@ -117,7 +117,7 @@ commands =
117117
check-wheel-contents dist/
118118

119119
[testenv:lint]
120-
basepython = python3.7
120+
basepython = python3.9
121121
changedir = {toxinidir}
122122
ignore_errors = True
123123
skip_install = True
@@ -147,33 +147,33 @@ deps =
147147
commands = python3 -m flake8_rst_docstrings_sphinx importcheck tests --allow-toolbox {posargs}
148148

149149
[testenv:perflint]
150-
basepython = python3.7
150+
basepython = python3.9
151151
changedir = {toxinidir}
152152
ignore_errors = True
153153
skip_install = True
154154
deps = perflint
155155
commands = python3 -m perflint importcheck {posargs}
156156

157157
[testenv:mypy]
158-
basepython = python3.7
158+
basepython = python3.9
159159
ignore_errors = True
160160
changedir = {toxinidir}
161161
deps =
162-
mypy==0.971
162+
mypy==1.16
163163
-r{toxinidir}/tests/requirements.txt
164164
-r{toxinidir}/stubs.txt
165165
commands = mypy importcheck tests {posargs}
166166

167167
[testenv:pyup]
168-
basepython = python3.7
168+
basepython = python3.9
169169
skip_install = True
170170
ignore_errors = True
171171
changedir = {toxinidir}
172172
deps = pyupgrade-directories
173173
commands = pyup_dirs importcheck tests --py36-plus --recursive
174174

175175
[testenv:coverage]
176-
basepython = python3.7
176+
basepython = python3.9
177177
skip_install = True
178178
ignore_errors = True
179179
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)