Skip to content

Commit 9d6a43d

Browse files
committed
Bump mypy version
1 parent 765f5a8 commit 9d6a43d

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,12 @@ autodoc_exclude_members = [
121121
"__hash__",
122122
]
123123

124+
[tool.mypy]
125+
python_version = "3.7"
126+
namespace_packages = true
127+
check_untyped_defs = true
128+
warn_unused_ignores = true
129+
no_implicit_optional = true
130+
124131
[project.entry-points.tox]
125132
recreate = "tox_recreate_hook"

repo_helper.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ keywords:
4545

4646
exclude_files:
4747
- contributing
48+
49+
mypy_deps:
50+
- types-first

setup.cfg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,5 @@
66
# * mypy
77
# * options.entry_points
88

9-
[mypy]
10-
python_version = 3.7
11-
namespace_packages = True
12-
check_untyped_defs = True
13-
warn_unused_ignores = True
14-
159
[options.entry_points]
1610
tox = recreate = tox_recreate_hook

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ basepython = python3.7
8787
ignore_errors = True
8888
changedir = {toxinidir}
8989
deps =
90-
mypy==0.812
90+
mypy==0.910
9191
-r{toxinidir}/tests/requirements.txt
92+
types-first
9293
commands = mypy tox_recreate_hook tests {posargs}
9394

9495
[testenv:pyup]

0 commit comments

Comments
 (0)