This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 09780f1441 [CI] Add license to `.clang-format`; enforce with
pre-commit (#2635)
09780f1441 is described below
commit 09780f1441720ed3464aee5349d9e19cdd4d56f4
Author: John Bampton <[email protected]>
AuthorDate: Wed Feb 11 16:32:44 2026 +1000
[CI] Add license to `.clang-format`; enforce with pre-commit (#2635)
---
.github/linters/.clang-format | 17 +++++++++++++++++
.pre-commit-config.yaml | 1 +
2 files changed, 18 insertions(+)
diff --git a/.github/linters/.clang-format b/.github/linters/.clang-format
index dc0495848c..12c568b2b9 100644
--- a/.github/linters/.clang-format
+++ b/.github/linters/.clang-format
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
---
Language: Cpp
# BasedOnStyle: Google
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f55c6faca2..494c9e27b1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -251,6 +251,7 @@ repos:
\.prettierignore|
\.prettierrc|
\.shellcheckrc|
+ \.github/linters/\.clang-format|
\.github/CODEOWNERS|
.*/\.gitignore|
tools/maven/scalafmt\.conf