mypy.ini 1.57 KB
Newer Older
1
2
3
4
5
[mypy]

files = torchvision
show_error_codes = True
pretty = True
6
allow_redefinition = True
7
no_implicit_optional = True
8
9
warn_redundant_casts = True

10
[mypy-torchvision.io.image.*]
11

12
ignore_errors = True
13

14
[mypy-torchvision.io.video.*]
15
16
17

ignore_errors = True

18
19
20
21
[mypy-torchvision.models.densenet.*]

ignore_errors=True

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
[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]
55
56
57

ignore_errors = True

Hu Ye's avatar
Hu Ye committed
58
59
60
61
[mypy-torchvision.models.detection.fcos]

ignore_errors = True

62
63
64
65
[mypy-torchvision.ops.*]

ignore_errors = True

66
67
68
69
70
71
72
73
[mypy-torchvision.transforms.functional.*]

ignore_errors = True

[mypy-torchvision.transforms.transforms.*]

ignore_errors = True

74
75
76
77
78
79
80
81
82
83
84
85
86
[mypy-PIL.*]

ignore_missing_imports = True

[mypy-numpy.*]

ignore_missing_imports = True

[mypy-scipy.*]

ignore_missing_imports = True

[mypy-pycocotools.*]
87
88
89

ignore_missing_imports = True

90
91
92
93
94
95
96
[mypy-lmdb.*]

ignore_missing_imports = True

[mypy-accimage.*]

ignore_missing_imports = True
97
98
99
100

[mypy-av.*]

ignore_missing_imports = True
101
102
103
104

[mypy-defusedxml.*]

ignore_missing_imports = True
105

106
107
108
[mypy-h5py.*]

ignore_missing_imports = True