Skip to content

Commit bf6b91e

Browse files
committed
Bump mypy
1 parent 13cf8c0 commit bf6b91e

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
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
@@ -40,7 +40,7 @@ license-key = "MIT"
4040
package = "flake8_missing_annotations"
4141

4242
[tool.mypy]
43-
python_version = "3.8"
43+
python_version = "3.9"
4444
namespace_packages = true
4545
check_untyped_defs = true
4646
warn_unused_ignores = true

repo_helper.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ docs_fail_on_warning: true
1717
enable_docs: false
1818
enable_conda: false
1919
enable_tests: false
20+
mypy_version: 1.16
21+
python_deploy_version: 3.9
2022

2123
# Versions to run tests for
2224
python_versions:

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ commands =
7979
check-wheel-contents dist/
8080

8181
[testenv:lint]
82-
basepython = python3.8
82+
basepython = python3.9
8383
changedir = {toxinidir}
8484
ignore_errors = True
8585
skip_install = False
@@ -109,22 +109,22 @@ deps =
109109
commands = python3 -m flake8_rst_docstrings_sphinx flake8_missing_annotations --allow-toolbox {posargs}
110110

111111
[testenv:perflint]
112-
basepython = python3.8
112+
basepython = python3.9
113113
changedir = {toxinidir}
114114
ignore_errors = True
115115
skip_install = True
116116
deps = perflint
117117
commands = python3 -m perflint flake8_missing_annotations {posargs}
118118

119119
[testenv:mypy]
120-
basepython = python3.8
120+
basepython = python3.9
121121
ignore_errors = True
122122
changedir = {toxinidir}
123-
deps = mypy==0.971
123+
deps = mypy==1.16
124124
commands = mypy flake8_missing_annotations {posargs}
125125

126126
[testenv:pyup]
127-
basepython = python3.8
127+
basepython = python3.9
128128
skip_install = True
129129
ignore_errors = True
130130
changedir = {toxinidir}

0 commit comments

Comments
 (0)