Skip to content

Commit

Permalink
tools: add .java to list of linted suffixes (#7210)
Browse files Browse the repository at this point in the history
This will allow other projects that use this script to use `clang-format` with `.java` files.

Signed-off-by: Michael Rebello <[email protected]>
  • Loading branch information
rebello95 authored and mattklein123 committed Jun 8, 2019
1 parent 324d5b6 commit e756799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
EXCLUDED_PREFIXES = ("./generated/", "./thirdparty/", "./build", "./.git/", "./bazel-", "./.cache",
"./source/extensions/extensions_build_config.bzl",
"./tools/testdata/check_format/", "./tools/pyformat/")
SUFFIXES = (".cc", ".h", "BUILD", "WORKSPACE", ".bzl", ".md", ".rst", ".proto")
SUFFIXES = (".cc", ".h", "BUILD", "WORKSPACE", ".bzl", ".java", ".md", ".rst", ".proto")
DOCS_SUFFIX = (".md", ".rst")
PROTO_SUFFIX = (".proto")

Expand Down

0 comments on commit e756799

Please sign in to comment.