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

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 7d33f9302f GH-43875: [Go][CI] Remove Go related lint configurations 
(#44144)
7d33f9302f is described below

commit 7d33f9302f55a5ee08603f29fbb0e8743097e94e
Author: Raúl Cumplido <[email protected]>
AuthorDate: Wed Sep 18 02:50:51 2024 +0200

    GH-43875: [Go][CI] Remove Go related lint configurations (#44144)
    
    ### Rationale for this change
    
    The Go implementation is moving to apache/arrow-go from go/ in apache/arrow.
    
    ### What changes are included in this PR?
    
    Removing the linting configuration
    
    ### Are these changes tested?
    
    Yes
    
    ### Are there any user-facing changes?
    
    No
    * GitHub Issue: #43875
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 .golangci.yaml          | 29 -----------------------------
 .pre-commit-config.yaml | 14 --------------
 2 files changed, 43 deletions(-)

diff --git a/.golangci.yaml b/.golangci.yaml
deleted file mode 100644
index 7d486a9e85..0000000000
--- a/.golangci.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-# 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.
-
-linters:
-  # Disable all linters.
-  # Default: false
-  disable-all: true
-  # Enable specific linter
-  # https://golangci-lint.run/usage/linters/#enabled-by-default
-  enable:
-    - gofmt
-    - goimports
-
-issues:
-  fix: true
\ No newline at end of file
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 91017969eb..bee20369c0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -168,17 +168,3 @@ repos:
           '--disable',
           'dangling-hyphen,line-too-long',
         ]
-  - repo: https://github.com/golangci/golangci-lint
-    rev: v1.59.0
-    hooks:
-      # no built-in support for multiple go.mod
-      # https://github.com/golangci/golangci-lint/issues/828
-      - id: golangci-lint-full
-        name: golangci-lint-full-arrow
-        entry: bash -c 'cd go/arrow && golangci-lint run'
-      - id: golangci-lint-full
-        name: golangci-lint-full-parquet
-        entry: bash -c 'cd go/parquet && golangci-lint run'
-      - id: golangci-lint-full
-        name: golangci-lint-full-internal
-        entry: bash -c 'cd go/internal && golangci-lint run'

Reply via email to