Skip to content

Commit ac6c07f

Browse files
Pyre Bot Jrfacebook-github-bot
Pyre Bot Jr
authored andcommitted
suppress errors in fbcode/vision - batch 2
Differential Revision: D28962863 fbshipit-source-id: 7acc8e2f08ea7a94294647431561ff2cfd52a97d
1 parent f00ef66 commit ac6c07f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pytorch3d/io/obj_io.py

-4
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,7 @@ def load_obj(
207207
None.
208208
"""
209209
data_dir = "./"
210-
# pyre-fixme[6]: Expected `Union[typing.Type[typing.Any],
211-
# typing.Tuple[typing.Type[typing.Any], ...]]` for 2nd param but got `Any`.
212210
if isinstance(f, (str, bytes, os.PathLike)):
213-
# pyre-fixme[6]: Expected `_PathLike[Variable[typing.AnyStr <: [str,
214-
# bytes]]]` for 1st param but got `Union[_PathLike[typing.Any], bytes, str]`.
215211
data_dir = os.path.dirname(f)
216212
if path_manager is None:
217213
path_manager = PathManager()

0 commit comments

Comments
 (0)