From a5a15b34c6e3d120cf8601b61d598b8933c705b1 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 8 Nov 2024 08:52:15 -0800 Subject: [PATCH 1/3] Ignore all whitespace lint messages for cpplint They are handled automatically by clang-format. --- CPPLINT.cfg | 1 + 1 file changed, 1 insertion(+) create mode 100644 CPPLINT.cfg diff --git a/CPPLINT.cfg b/CPPLINT.cfg new file mode 100644 index 0000000000000..12c1c7be0d773 --- /dev/null +++ b/CPPLINT.cfg @@ -0,0 +1 @@ +filter=-whitespace From 0aca2820e59b09be595a16210fedbda80e9ee931 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 8 Nov 2024 08:53:26 -0800 Subject: [PATCH 2/3] Delete onnxruntime/core/providers/dml/CPPLINT.cfg --- onnxruntime/core/providers/dml/CPPLINT.cfg | 1 - 1 file changed, 1 deletion(-) delete mode 100644 onnxruntime/core/providers/dml/CPPLINT.cfg diff --git a/onnxruntime/core/providers/dml/CPPLINT.cfg b/onnxruntime/core/providers/dml/CPPLINT.cfg deleted file mode 100644 index 02d14c65cc861..0000000000000 --- a/onnxruntime/core/providers/dml/CPPLINT.cfg +++ /dev/null @@ -1 +0,0 @@ -filter=-whitespace/braces,-whitespace/parens,-whitespace/line_length,-whitespace/indent,-whitespace/newline From 76e939c99d38b4d0afb5a07b9a03a39843d96a3d Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 8 Nov 2024 08:54:28 -0800 Subject: [PATCH 3/3] Update CPPLINT.cfg --- .../providers/dml/DmlExecutionProvider/src/External/CPPLINT.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/CPPLINT.cfg b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/CPPLINT.cfg index bf14c49304415..7e6be3c6874d5 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/CPPLINT.cfg +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/External/CPPLINT.cfg @@ -1 +1 @@ -filter=-whitespace/comments,-readability/todo,-whitespace/end_of_line,-runtime/indentation_namespace +filter=-readability/todo