From 34f03a3f3a82bd24ab429e1cef6970e4b21fae83 Mon Sep 17 00:00:00 2001 From: mhucka Date: Thu, 26 Mar 2026 21:11:16 +0000 Subject: [PATCH 1/4] Add entry for Dockerfiles to `.editorconfig` --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 7b8470b10..17a5d0363 100644 --- a/.editorconfig +++ b/.editorconfig @@ -34,6 +34,9 @@ indent_size = 4 [{*.cc,*.h}] indent_size = 2 +[Dockerfile] +indent_size = 4 + [*.json] indent_size = 2 From 6bbb111d80068a7c28c4066a4b075e92e8773980 Mon Sep 17 00:00:00 2001 From: mhucka Date: Thu, 26 Mar 2026 21:13:59 +0000 Subject: [PATCH 2/4] Put in sorted order --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 17a5d0363..c694badba 100644 --- a/.editorconfig +++ b/.editorconfig @@ -31,12 +31,12 @@ max_line_length = 80 [{BUILD,*.BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}] indent_size = 4 -[{*.cc,*.h}] -indent_size = 2 - [Dockerfile] indent_size = 4 +[{*.cc,*.h}] +indent_size = 2 + [*.json] indent_size = 2 From a1fe8b7abb3bba9054fa8943ca0185fab3637788 Mon Sep 17 00:00:00 2001 From: mhucka Date: Wed, 15 Apr 2026 01:15:09 +0000 Subject: [PATCH 3/4] Streamline the comments --- .editorconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index c694badba..495538bd0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,11 +15,10 @@ root = true -# We follow the TensorFlow coding style -# https://www.tensorflow.org/community/contribute/code_style +# We follow TF's style: https://tensorflow.org/community/contribute/code_style -# IMPORTANT: some of the other config files (.clang-format, etc.) also have -# the same settings and need to be updated if changes are made to this file. +# IMPORTANT: some of the other config files (e.g., .pylintrc) also have settings +# for the same properties & need to be updated if changes are made to this file. [*] charset = utf-8 indent_style = space From 1a2a6f2a832e8a263c07a47f70a01085303e3679 Mon Sep 17 00:00:00 2001 From: mhucka Date: Wed, 15 Apr 2026 01:17:00 +0000 Subject: [PATCH 4/4] Remove `*.BUILD` because this repo doesn't have any --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 495538bd0..7b82d946e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,7 +27,7 @@ spelling_language = en-US trim_trailing_whitespace = true max_line_length = 80 -[{BUILD,*.BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}] +[{BUILD,*.bzl,*.bazel,.bazelrc,WORKSPACE}] indent_size = 4 [Dockerfile]