summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-01-13 20:13:00 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-01-14 09:54:48 +0100
commita1028697465029f3e7b100de843eb7e5e2948246 (patch)
tree857143dd6f4d71ea2453e946df084256714a0469
parent4533dea70e1ffbf395d31efcbab4989705fa4d8c (diff)
downloadpodman-a1028697465029f3e7b100de843eb7e5e2948246.tar.gz
podman-a1028697465029f3e7b100de843eb7e5e2948246.tar.bz2
podman-a1028697465029f3e7b100de843eb7e5e2948246.zip
.golangci.yml: move swagger.go from Makefile
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r--.golangci.yml1
-rw-r--r--Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 4b8850d02..dda1cc7ec 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -13,6 +13,7 @@ run:
- test
skip-files:
- iopodman.go
+ - swagger.go
linters:
enable-all: true
disable:
diff --git a/Makefile b/Makefile
index 5d3405387..bfcbce1e1 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ endif
lint: golangci-lint
golangci-lint: .gopathok varlink_generate .install.golangci-lint
- $(GOBIN)/golangci-lint run --tests=false --skip-files swagger.go
+ $(GOBIN)/golangci-lint run --tests=false
gofmt: ## Verify the source code gofmt
find . -name '*.go' ! -path './vendor/*' -exec gofmt -s -w {} \+