Skip to content

Commit 1222b49

Browse files
authored
disable mypy for prototype datasets (pytorch#7194)
1 parent 732af96 commit 1222b49

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

mypy.ini

+1-11
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,7 @@ allow_redefinition = True
3737

3838
[mypy-torchvision.prototype.datasets.*]
3939

40-
; untyped definitions and calls
41-
disallow_untyped_defs = True
42-
43-
; None and Optional handling
44-
no_implicit_optional = True
45-
46-
; warnings
47-
warn_unused_ignores = True
48-
49-
; miscellaneous strictness flags
50-
allow_redefinition = True
40+
ignore_errors = True
5141

5242
[mypy-torchvision.io.image.*]
5343

0 commit comments

Comments
 (0)