Skip to content

Commit b62ca64

Browse files
authored
Add Dockerfile to .editorconfig and do a bit of housekeeping on the file (#1049)
This PR makes some very minor updates to `.editorconfig`: - defines settings for Dockerfile - remove pattern for `*.BUILD` because this repo has no such files - streamline the comments some more
1 parent 0d88733 commit b62ca64

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.editorconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515

1616
root = true
1717

18-
# We follow the TensorFlow coding style
19-
# https://www.tensorflow.org/community/contribute/code_style
18+
# We follow TF's style: https://tensorflow.org/community/contribute/code_style
2019

21-
# IMPORTANT: some of the other config files (.clang-format, etc.) also have
22-
# the same settings and need to be updated if changes are made to this file.
20+
# IMPORTANT: some of the other config files (e.g., .pylintrc) also have settings
21+
# for the same properties & need to be updated if changes are made to this file.
2322
[*]
2423
charset = utf-8
2524
indent_style = space
@@ -28,7 +27,10 @@ spelling_language = en-US
2827
trim_trailing_whitespace = true
2928
max_line_length = 80
3029

31-
[{BUILD,*.BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}]
30+
[{BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}]
31+
indent_size = 4
32+
33+
[Dockerfile]
3234
indent_size = 4
3335

3436
[{*.cc,*.h}]

0 commit comments

Comments
 (0)