forked from pytorch/vision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
119 lines (65 loc) · 1.79 KB
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[mypy]
files = torchvision
show_error_codes = True
pretty = True
allow_redefinition = True
warn_redundant_casts = True
[mypy-torchvision.prototype.datasets.*]
; untyped definitions and calls
disallow_untyped_defs = True
; None and Optional handling
no_implicit_optional = True
; warnings
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
; miscellaneous strictness flags
allow_redefinition = True
[mypy-torchvision.io.image.*]
ignore_errors = True
[mypy-torchvision.io.video.*]
ignore_errors = True
[mypy-torchvision.models.densenet.*]
ignore_errors=True
[mypy-torchvision.models.detection.anchor_utils]
ignore_errors = True
[mypy-torchvision.models.detection.transform]
ignore_errors = True
[mypy-torchvision.models.detection.roi_heads]
ignore_errors = True
[mypy-torchvision.models.detection.faster_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.mask_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.keypoint_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.retinanet]
ignore_errors = True
[mypy-torchvision.models.detection.ssd]
ignore_errors = True
[mypy-torchvision.models.detection.ssdlite]
ignore_errors = True
[mypy-torchvision.ops.*]
ignore_errors = True
[mypy-torchvision.transforms.functional.*]
ignore_errors = True
[mypy-torchvision.transforms.transforms.*]
ignore_errors = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-pycocotools.*]
ignore_missing_imports = True
[mypy-lmdb.*]
ignore_missing_imports = True
[mypy-accimage.*]
ignore_missing_imports = True
[mypy-av.*]
ignore_missing_imports = True
[mypy-defusedxml.*]
ignore_missing_imports = True
[mypy-torchdata.*]
ignore_missing_imports = True