You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by vg...@apache.org on 2024/11/26 11:58:53 UTC
(incubator-hugegraph-ai) 01/02: chore(dist): add license header for files under style directory (#118)
This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a commit to branch release-1.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
commit 67aaf4547e831e62d89ca176ed9657d95b06a41d
Author: V_Galaxy <dy...@gmail.com>
AuthorDate: Sat Nov 23 17:37:16 2024 +0800
chore(dist): add license header for files under style directory (#118)
---
.licenserc.yaml | 1 -
style/code_format_and_analysis.sh | 16 ++++++++++++++++
style/pylint.conf | 17 +++++++++++++++++
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 1715837..91d42c2 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -69,7 +69,6 @@ header: # `header` section is configurations for source codes license header.
- '**/logs/*.log'
- '**/META-INF/**/*'
- '**/target/*'
- - 'style/*'
- 'ChangeLog'
- 'CONFIG.ini'
- 'GROUPS'
diff --git a/style/code_format_and_analysis.sh b/style/code_format_and_analysis.sh
index 5dd4424..71e58a9 100644
--- a/style/code_format_and_analysis.sh
+++ b/style/code_format_and_analysis.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#
+# 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.
+#
BLACK=false
PYLINT=false
diff --git a/style/pylint.conf b/style/pylint.conf
index c05214a..af82317 100644
--- a/style/pylint.conf
+++ b/style/pylint.conf
@@ -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.
+#
+
[MAIN]
# Analyse import fallback blocks. This can be used to support both Python 2 and