Skip to content

Commit ca6b4eb

Browse files
committed
Bump mypy
1 parent 2b582bf commit ca6b4eb

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ name = "coincidence"
77
version = "0.6.6"
88
description = "Helper functions for pytest."
99
readme = "README.rst"
10-
requires-python = ">=3.6"
1110
keywords = [ "pytest", "regression", "testing", "unittest", "utilities",]
12-
dynamic = [ "classifiers", "dependencies",]
11+
dynamic = [ "requires-python", "classifiers", "dependencies",]
1312

1413
[project.license]
1514
file = "LICENSE"
@@ -130,7 +129,7 @@ autodoc_exclude_members = [
130129
]
131130

132131
[tool.mypy]
133-
python_version = "3.8"
132+
python_version = "3.9"
134133
namespace_packages = true
135134
check_untyped_defs = true
136135
warn_unused_ignores = true

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ conda_channels:
1515
- conda-forge
1616

1717
min_coverage: 100
18-
requires_python: 3.6
18+
mypy_version: 1.16
19+
python_deploy_version: 3.9
1920
use_whey: true
2021
docs_fail_on_warning: true
2122

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ requires =
4646
[envlists]
4747
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
4848
qa = mypy, lint
49-
cov = py38, coverage
49+
cov = py39, coverage
5050

5151
[testenv]
5252
setenv =
@@ -103,7 +103,7 @@ commands =
103103
check-wheel-contents dist/
104104

105105
[testenv:lint]
106-
basepython = python3.8
106+
basepython = python3.9
107107
changedir = {toxinidir}
108108
ignore_errors = True
109109
skip_install = True
@@ -133,33 +133,33 @@ deps =
133133
commands = python3 -m flake8_rst_docstrings_sphinx coincidence tests --allow-toolbox {posargs}
134134

135135
[testenv:perflint]
136-
basepython = python3.8
136+
basepython = python3.9
137137
changedir = {toxinidir}
138138
ignore_errors = True
139139
skip_install = True
140140
deps = perflint
141141
commands = python3 -m perflint coincidence {posargs}
142142

143143
[testenv:mypy]
144-
basepython = python3.8
144+
basepython = python3.9
145145
ignore_errors = True
146146
changedir = {toxinidir}
147147
deps =
148-
mypy==0.971
148+
mypy==1.16
149149
-r{toxinidir}/tests/requirements.txt
150150
-r{toxinidir}/stubs.txt
151151
commands = mypy coincidence tests {posargs}
152152

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

161161
[testenv:coverage]
162-
basepython = python3.8
162+
basepython = python3.9
163163
skip_install = True
164164
ignore_errors = True
165165
whitelist_externals = /bin/bash
@@ -196,7 +196,7 @@ inline-quotes = "
196196
multiline-quotes = """
197197
docstring-quotes = """
198198
count = True
199-
min_python_version = 3.6
199+
min_python_version = 3.7
200200
unused-arguments-ignore-abstract-functions = True
201201
unused-arguments-ignore-overload-functions = True
202202
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)