Skip to content

Commit 8d0dbcc

Browse files
committed
Don't disable disallow_any_generics accross the board
1 parent 3234243 commit 8d0dbcc

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

tox.ini

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ commands =
200200
# Global settings
201201

202202
check_untyped_defs = True
203-
disallow_any_generics = False
203+
disallow_any_generics = True
204204
disallow_incomplete_defs = True
205205
disallow_untyped_defs = True
206206
no_implicit_optional = True
@@ -213,10 +213,12 @@ warn_return_any = True
213213
warn_unreachable = True
214214
warn_unused_ignores = True
215215

216-
# Don't complain about dependencies known to lack type hints
216+
# DrawCallable is generic
217217

218-
[mypy-idna]
219-
ignore_missing_imports = True
218+
[mypy-hyperlink.hypothesis]
219+
disallow_any_generics = False
220+
[mypy-hyperlink.test.test_hypothesis]
221+
disallow_any_generics = False
220222

221223
# Don't complain about dependencies known to lack type hints
222224

@@ -225,6 +227,9 @@ ignore_missing_imports = True
225227
[mypy-hypothesis.*]
226228
ignore_missing_imports = True
227229

230+
[mypy-idna]
231+
ignore_missing_imports = True
232+
228233

229234
##
230235
# Coverage report

0 commit comments

Comments
 (0)