Skip to content

Commit

Permalink
[tools] Add back an accidentally-disabled linter config (RobotLocomot…
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnimmer-tri authored and RussTedrake committed Dec 15, 2024
1 parent fcde2ff commit 1f78753
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CPPLINT.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ filter=+build/pragma_once
# Disable cpplint's include order. We have our own via //tools:drakelint.
filter=-build/include_order

# Filters are prefix strings on the name of the error category (i.e., string
# matches are anchored only at the start of the name, not the end), so we must
# explicitly opt-in to longer category names that the `-build/include` filter in
# the next paragraph would otherwise disable.
filter=+build/include_what_you_use

# Disable cpplint's check to include the h file atop the cc file (along with
# some other, even less relevant checks). Given the layout of bazel's runfiles
# during linting and our include path customizations, cpplint yields false
Expand Down
1 change: 1 addition & 0 deletions math/matrix_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cmath>
#include <functional>
#include <set>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Expand Down

0 comments on commit 1f78753

Please sign in to comment.