diff --git a/.golangci.yaml b/.golangci.yaml index 2e97cea29..cc4f38dba 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,9 +1,12 @@ - run: # Pelican has gotten large enough that the GitHub Action sometimes # times out on a cold cache timeout: 3m + skip-files: + - param/parameters.go + - param/parameters_struct.go + - token_utils/token_scopes.go linters: enable: - - gofmt + - gofmt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e03b078ff..a6c147d82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,4 +14,4 @@ repos: - repo: https://github.com/golangci/golangci-lint rev: v1.55.2 hooks: - - id: golangci-lint + - id: golangci-lint-full diff --git a/generate/scope_generator.go b/generate/scope_generator.go index c7965fd32..76057c4ba 100644 --- a/generate/scope_generator.go +++ b/generate/scope_generator.go @@ -104,7 +104,7 @@ func GenTokenScope() { defer f.Close() err = tokenTemplate.Execute(f, struct { - Scopes []ScopeName + Scopes []ScopeName StorageScopes []ScopeName }{ Scopes: scopes,