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

files = torchvision
show_error_codes = True
pretty = True
6
allow_redefinition = True
7

8
[mypy-torchvision.io._video_opt.*]
9

10
ignore_errors = True
11

12
13
14
15
[mypy-torchvision.io.*]

ignore_errors = True

16
17
18
19
[mypy-torchvision.models.densenet.*]

ignore_errors=True

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
[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.generalized_rcnn]

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]
57
58
59

ignore_errors = True

60
61
62
63
[mypy-torchvision.ops.*]

ignore_errors = True

64
65
66
67
68
69
70
71
[mypy-torchvision.transforms.functional.*]

ignore_errors = True

[mypy-torchvision.transforms.transforms.*]

ignore_errors = True

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

ignore_missing_imports = True

[mypy-numpy.*]

ignore_missing_imports = True

[mypy-scipy.*]

ignore_missing_imports = True

[mypy-pycocotools.*]
85
86
87

ignore_missing_imports = True

88
89
90
91
92
93
94
95
96
97
98
[mypy-lmdb.*]

ignore_missing_imports = True

[mypy-pandas.*]

ignore_missing_imports = True

[mypy-accimage.*]

ignore_missing_imports = True
99
100
101
102

[mypy-av.*]

ignore_missing_imports = True
103
104
105
106

[mypy-defusedxml.*]

ignore_missing_imports = True
107
108
109
110

[mypy-torchdata.*]

ignore_missing_imports = True