Skip to content

Commit 45fc394

Browse files
authored
Merge pull request #382 from pre-commit/all-repos_autofix_mypy-ini
Combine mypy.ini and setup.cfg
2 parents 6d7906e + 8bb09ce commit 45fc394

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

mypy.ini

Lines changed: 0 additions & 12 deletions
This file was deleted.

setup.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,16 @@ exclude =
6969

7070
[bdist_wheel]
7171
universal = True
72+
73+
[mypy]
74+
check_untyped_defs = true
75+
disallow_any_generics = true
76+
disallow_incomplete_defs = true
77+
disallow_untyped_defs = true
78+
no_implicit_optional = true
79+
80+
[mypy-testing.*]
81+
disallow_untyped_defs = false
82+
83+
[mypy-tests.*]
84+
disallow_untyped_defs = false

0 commit comments

Comments
 (0)