cpplint: add filter whitespace/parens (#29565)

This commit is contained in:
Dean Lee
2023-08-24 05:25:05 +08:00
committed by GitHub
parent 239d6a24be
commit 5480d32bb5
23 changed files with 56 additions and 58 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ repos:
- --linelength=240
# https://google.github.io/styleguide/cppguide.html
# relevant rules are whitelisted, see all options with: cpplint --filter=
- --filter=-build,-legal,-readability,-runtime,-whitespace,+build/forward_decl,+build/include_what_you_use,+build/deprecated,+whitespace/line_length,+whitespace/empty_if_body,+whitespace/empty_loop_body,+whitespace/empty_conditional_body,+readability/braces
- --filter=-build,-legal,-readability,-runtime,-whitespace,+build/forward_decl,+build/include_what_you_use,+build/deprecated,+whitespace/line_length,+whitespace/empty_if_body,+whitespace/empty_loop_body,+whitespace/empty_conditional_body,+whitespace/parens,+readability/braces
- repo: local
hooks:
- id: test_translations