Skip to content

Commit

Permalink
DNM Silence lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jan 28, 2019
1 parent 72d2063 commit 04e66c8
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions tools/lint/lint.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,30 @@ def add_lint_tests(
- python_lint.bzl
"""
existing_rules = native.existing_rules().values()
cpplint(
existing_rules = existing_rules,
data = cpplint_data,
extra_srcs = cpplint_extra_srcs,
enable_clang_format_lint = enable_clang_format_lint,
)
python_lint(
existing_rules = existing_rules,
ignore = python_lint_ignore,
exclude = python_lint_exclude,
extra_srcs = python_lint_extra_srcs,
)
bazel_lint(
ignore = bazel_lint_ignore,
extra_srcs = bazel_lint_extra_srcs,
exclude = bazel_lint_exclude,
)
if enable_install_lint:
install_lint(
existing_rules = existing_rules,
)
if enable_library_lint:
library_lint(
existing_rules = existing_rules,
)
pass
# existing_rules = native.existing_rules().values()
# cpplint(
# existing_rules = existing_rules,
# data = cpplint_data,
# extra_srcs = cpplint_extra_srcs,
# enable_clang_format_lint = enable_clang_format_lint,
# )
# python_lint(
# existing_rules = existing_rules,
# ignore = python_lint_ignore,
# exclude = python_lint_exclude,
# extra_srcs = python_lint_extra_srcs,
# )
# bazel_lint(
# ignore = bazel_lint_ignore,
# extra_srcs = bazel_lint_extra_srcs,
# exclude = bazel_lint_exclude,
# )
# if enable_install_lint:
# install_lint(
# existing_rules = existing_rules,
# )
# if enable_library_lint:
# library_lint(
# existing_rules = existing_rules,
# )

0 comments on commit 04e66c8

Please sign in to comment.