Skip to content

Commit 5f7c040

Browse files
lint: Add cpp_docstring_lint
1 parent 70f6451 commit 5f7c040

File tree

3 files changed

+999
-0
lines changed

3 files changed

+999
-0
lines changed

tools/lint/BUILD.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ drake_py_binary(
9898
srcs = ["library_lint_reporter.py"],
9999
)
100100

101+
drake_py_binary(
102+
name = "cpp_docstring_lint",
103+
srcs = ["cpp_docstring_lint.py"],
104+
deps = [":util"],
105+
)
106+
101107
# === test ===
102108

103109
drake_py_unittest(
@@ -130,6 +136,11 @@ drake_py_unittest(
130136
deps = [":formatter"],
131137
)
132138

139+
drake_py_unittest(
140+
name = "cpp_docstring_lint_test",
141+
deps = ["cpp_docstring_lint"],
142+
)
143+
133144
sh_test(
134145
name = "clang_format_includes_test",
135146
size = "small",

0 commit comments

Comments
 (0)