Skip to content

Commit 5e481be

Browse files
committed
chore: Apply linting and ignore example code
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 9e67362 commit 5e481be

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/core/conversion/converters/test_interpolate.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
const auto graph = graph_src; \
1010
\
1111
auto g = std::make_shared<torch::jit::Graph>(); \
12-
torch::jit::parseIR(graph, g.get()); \
12+
torch::jit::parseIR(graph, g.get()); \
1313
\
1414
auto in = at::randint(1, 10, input_shape, {at::kCUDA}); \
1515
auto jit_in = at::clone(in); \
@@ -28,7 +28,7 @@
2828
const auto graph = graph_src; \
2929
\
3030
auto g = std::make_shared<torch::jit::Graph>(); \
31-
torch::jit::parseIR(graph, g.get()); \
31+
torch::jit::parseIR(graph, g.get()); \
3232
\
3333
auto in = at::randint(1, 10, input_shape, {at::kCUDA}); \
3434
auto jit_in = at::clone(in); \
@@ -48,7 +48,7 @@
4848
const auto graph = graph_src; \
4949
\
5050
auto g = std::make_shared<torch::jit::Graph>(); \
51-
torch::jit::parseIR(graph, g.get()); \
51+
torch::jit::parseIR(graph, g.get()); \
5252
\
5353
auto in = at::randint(1, 10, input_shape, {at::kCUDA}); \
5454
auto jit_in = at::clone(in); \

tests/core/conversion/converters/test_unary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ std::string gen_test_graph(const std::string& unary) {
1919
const auto graph = gen_test_graph(#unary); \
2020
\
2121
auto g = std::make_shared<torch::jit::Graph>(); \
22-
torch::jit::parseIR(graph, g.get()); \
22+
torch::jit::parseIR(graph, g.get()); \
2323
\
2424
float offset = 0; \
2525
if (strcmp(#name, "Acosh") == 0) \

tools/linter/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
BLACKLISTED_BAZEL_TARGETS = [
77
"//experiments", "//tools", "//docker", "//third_party", "//bazel-bin", "//bazel-genfiles",
88
"//bazel-out", "//bazel-TRTorch", "//bazel-workspace", "//bazel-testlogs", "//py/build",
9-
"//py/dist", "//py/trtorch.egg-info", "//py/wheelhouse"
9+
"//py/dist", "//py/trtorch.egg-info", "//py/wheelhouse", "//examples", "//docsrc", "//docs"
1010
]
1111

1212

0 commit comments

Comments
 (0)