Skip to content

Commit 8c47232

Browse files
committed
Bump mypy
1 parent 9bd4841 commit 8c47232

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
@@ -43,7 +43,7 @@ license-key = "MIT"
4343
package = "flake8_prettycount"
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_tests: false
1616
enable_docs: false
17+
mypy_version: 1.16
18+
python_deploy_version: 3.9
1719

1820
classifiers:
1921
- 'Environment :: Console'

tox.ini

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

103103
[testenv:lint]
104-
basepython = python3.8
104+
basepython = python3.9
105105
changedir = {toxinidir}
106106
ignore_errors = True
107107
skip_install = False
@@ -131,22 +131,22 @@ deps =
131131
commands = python3 -m flake8_rst_docstrings_sphinx flake8_prettycount --allow-toolbox {posargs}
132132

133133
[testenv:perflint]
134-
basepython = python3.8
134+
basepython = python3.9
135135
changedir = {toxinidir}
136136
ignore_errors = True
137137
skip_install = True
138138
deps = perflint
139139
commands = python3 -m perflint flake8_prettycount {posargs}
140140

141141
[testenv:mypy]
142-
basepython = python3.8
142+
basepython = python3.9
143143
ignore_errors = True
144144
changedir = {toxinidir}
145-
deps = mypy==0.971
145+
deps = mypy==1.16
146146
commands = mypy flake8_prettycount {posargs}
147147

148148
[testenv:pyup]
149-
basepython = python3.8
149+
basepython = python3.9
150150
skip_install = True
151151
ignore_errors = True
152152
changedir = {toxinidir}

0 commit comments

Comments
 (0)