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

Commit

Permalink
[Build] updated cpplint and pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
surahman committed Jan 25, 2022
1 parent bbe11ad commit eec9864
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
9 changes: 7 additions & 2 deletions third_party/python/cpplint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ licenses(["notice"])

package(default_visibility = ["//visibility:public"])

pex_binary(
load("@rules_python//python:defs.bzl", "py_binary")
load("@heron_py_deps//:requirements.bzl", "requirement")

py_binary(
name = "cpplint",
entrypoint = "cpplint",
reqs = ["cpplint==1.3.0"],
deps = [
requirement(cpplint),
],
)
9 changes: 7 additions & 2 deletions third_party/python/pylint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ licenses(["notice"]) # apache 2.0

package(default_visibility = ["//visibility:public"])

pex_binary(
load("@rules_python//python:defs.bzl", "py_binary")
load("@heron_py_deps//:requirements.bzl", "requirement")

py_binary(
name = "pylint",
entrypoint = "pylint",
reqs = ["pylint==2.5.0"],
deps = [
requirement(pylint),
],
)
2 changes: 2 additions & 0 deletions tools/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ uvicorn==0.11.7
uvloop==0.16.0
logging-formatter-anticrlf==1.2
tornado==6.1
pylint==2.5.0
cpplint==1.3.0

0 comments on commit eec9864

Please sign in to comment.