mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
update golangci-lint to v1.64.2
- exportloopref is deprecated and deactivated so it should be removed from the disable list. - tenv is deprecated and was replaced by usetesting Signed-off-by: Paul Holzinger <pholzing@redhat.com> (cherry picked from commit 986fc9f465d9bcc1c949c5f3891b73957c92ad80) Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -61,7 +61,7 @@ linters:
|
||||
- nonamedreturns
|
||||
- exhaustruct
|
||||
# deprecated linters
|
||||
- exportloopref
|
||||
- tenv
|
||||
linters-settings:
|
||||
errcheck:
|
||||
check-blank: false
|
||||
|
2
Makefile
2
Makefile
@ -62,7 +62,7 @@ BUILDTAGS += ${EXTRA_BUILDTAGS}
|
||||
# N/B: This value is managed by Renovate, manual changes are
|
||||
# possible, as long as they don't disturb the formatting
|
||||
# (i.e. DO NOT ADD A 'v' prefix!)
|
||||
GOLANGCI_LINT_VERSION := 1.63.4
|
||||
GOLANGCI_LINT_VERSION := 1.64.2
|
||||
PYTHON ?= $(shell command -v python3 python|head -n1)
|
||||
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
|
||||
# ~/.local/bin is not in PATH on all systems
|
||||
|
Reference in New Issue
Block a user