You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by cg...@apache.org on 2021/11/01 12:05:17 UTC

[drill] branch master updated: Exclude .js Files From LGTM (#2358)

This is an automated email from the ASF dual-hosted git repository.

cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 719ce55  Exclude .js Files From LGTM (#2358)
719ce55 is described below

commit 719ce55d37d8078d4b1fb3270a09ef950385ff54
Author: Charles S. Givre <cg...@apache.org>
AuthorDate: Mon Nov 1 08:03:41 2021 -0400

    Exclude .js Files From LGTM (#2358)
    
    * Create .lgtm.yml
    
    Adds an exclusion to LGTM code audit.  Specifically all the minified `js` files from D3.
    
    * Add License Header
    
    * Exclude lgtm.yml from RAT check
---
 .lgtm.yml | 22 ++++++++++++++++++++++
 pom.xml   |  2 ++
 2 files changed, 24 insertions(+)

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644
index 0000000..a12bee6
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,22 @@
+# 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.
+
+
+# Format of this file: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
+path_classifiers:
+  documentation:
+    - docs/dev/*
+  excludes:
+    - exec/java-exec/src/main/resources/rest/static/js/*.js
diff --git a/pom.xml b/pom.xml
index 1ea05c8..5dd038f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -376,6 +376,7 @@
             <exclude>**/clientlib/y2038/*.h</exclude> <!-- All the files here should have MIT License -->
             <exclude>**/resources/parquet/**/*</exclude>
             <exclude>**/.asf.yaml</exclude>
+            <exclude>**/.lgtm.yml</exclude>
             <exclude>**/*.woff2</exclude>
             <exclude>**/*.ks</exclude>
             <exclude>**/*.pcap</exclude>
@@ -688,6 +689,7 @@
               <exclude>**/clientlib/y2038/*.h</exclude> <!-- All the files here should have MIT License -->
               <exclude>**/resources/parquet/**/*</exclude>
               <exclude>**/.asf.yaml</exclude>
+              <exclude>**/.lgtm.yml</exclude>
               <exclude>**/*.woff2</exclude>
               <exclude>**/*.ks</exclude>
               <exclude>**/*.pcap</exclude>