Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
[Build] cpplint and pylint main
Browse files Browse the repository at this point in the history
Setting cpplint and pylint main function location to <main.py>.
  • Loading branch information
surahman committed Jan 27, 2022
1 parent 6c524b4 commit d50c8e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/python/cpplint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ load("@heron_py_deps//:requirements.bzl", "requirement")
py_binary(
name = "cpplint",
srcs = ["empty.py"],
main = "cpplint",
main = "empty.py",
deps = [
requirement("cpplint"),
],
Expand Down
2 changes: 1 addition & 1 deletion third_party/python/pylint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ load("@heron_py_deps//:requirements.bzl", "requirement")
py_binary(
name = "pylint",
srcs = ["empty.py"],
main = "pylint",

This comment has been minimized.

Copy link
@joshfischer1108

joshfischer1108 Jan 27, 2022

Member

I'm thinking that the main attribute is used to execute the dependency pylint. If empty.py is now main, are we going to add code to now execute pylint?

main = "empty.py",
deps = [
requirement("pylint"),
],
Expand Down

0 comments on commit d50c8e4

Please sign in to comment.