Skip to content

Commit d79080b

Browse files
committed
mypy: Ignore pytorch type errors
1 parent 49b3e70 commit d79080b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mypy.ini

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[mypy]
22
ignore_missing_imports = true
33
exclude = output
4+
5+
[mypy-torch.*]
6+
follow_imports = skip
7+
follow_imports_for_stubs = True

0 commit comments

Comments
 (0)