Skip to content

Commit 5d84d9a

Browse files
committed
Move mypy config to pyproject.toml
1 parent 1590917 commit 5d84d9a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

mypy.ini

-3
This file was deleted.

pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,8 @@ profile = "attrs"
6666
directory = "change"
6767
name = "Changes"
6868
showcontent = true
69+
70+
71+
[tool.mypy]
72+
disallow_untyped_defs = true
73+
check_untyped_defs = true

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
and platform.python_implementation() != "PyPy"
6363
):
6464
EXTRAS_REQUIRE["tests_no_zope"].extend(
65-
["mypy!=0.940", "pytest-mypy-plugins"]
65+
["mypy>=0.900,!=0.940", "pytest-mypy-plugins"]
6666
)
6767

6868
EXTRAS_REQUIRE["tests"] = EXTRAS_REQUIRE["tests_no_zope"] + ["zope.interface"]

0 commit comments

Comments
 (0)