Skip to content

Commit 322d7da

Browse files
committed
refactor: Apply linting
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent cd9ea7f commit 322d7da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/core/conversion/converters/test_activation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ TEST(Converters, ATenHardTanhConvertsCorrectly) {
8585
params = trtorch::core::conversion::get_named_params(g->inputs(), {});
8686
auto trt_results = trtorch::tests::util::RunGraphEngine(g, params, {in});
8787

88-
ASSERT_TRUE(trtorch::tests::util::almostEqual(jit_results[0],
89-
trt_results[0], 2e-6));
88+
ASSERT_TRUE(trtorch::tests::util::almostEqual(jit_results[0], trt_results[0], 2e-6));
9089
}
9190

9291
TEST(Converters, ATenHardTanhCustomRangeConvertsCorrectly) {

tools/linter/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
BLACKLISTED_BAZEL_TARGETS = [
77
"//experiments", "//tools", "//docker", "//third_party", "//bazel-bin", "//bazel-genfiles",
8-
"//bazel-out", "//bazel-TRTorch", "//bazel-workspace", "//bazel-testlogs"
8+
"//bazel-out", "//bazel-TRTorch", "//bazel-workspace", "//bazel-testlogs", "//py/build",
9+
"//py/dist", "//py/trtorch.egg-info", "//py/wheelhouse"
910
]
1011

1112

0 commit comments

Comments
 (0)