Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebookresearch#4434

Linter was broken after facebookresearch@48b598b.

Reviewed By: mcimpoi

Differential Revision: D38153886

fbshipit-source-id: 05db2e6b1b9be4754b20ad34202612ec0a957bca
  • Loading branch information
wat3rBro authored and facebook-github-bot committed Jul 27, 2022
1 parent 48b598b commit 9921a2c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions detectron2/structures/instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from typing import Any, Dict, List, Tuple, Union
import torch

from detectron2.structures import Boxes


class Instances:
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/export/test_c10.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
except ImportError:
raise unittest.SkipTest(
f"PyTorch does not have Caffe2 support. Skipping all tests in {__name__}"
)
) from None


class TestCaffe2RPN(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_export_caffe2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
except ImportError:
raise unittest.SkipTest(
f"PyTorch does not have Caffe2 support. Skipping all tests in {__name__}"
)
) from None


# TODO: this test requires manifold access, see: T88318502
Expand Down

0 comments on commit 9921a2c

Please sign in to comment.