Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Dec 18, 2024
1 parent 57e6726 commit 43f68a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,6 @@ issues:
path: "pkg/(.+)_test.go"
text: "line-length-limit: .*"

# tolerate deep exit in tests, for now
- linters:
- revive
path: "pkg/(.+)_test.go"
text: "deep-exit: .*"

# we use t,ctx instead of ctx,t in tests
- linters:
- revive
Expand Down
2 changes: 1 addition & 1 deletion pkg/setup/detect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestSetupHelperProcess(t *testing.T) {
}

fmt.Fprint(os.Stdout, fakeSystemctlOutput)
os.Exit(0)
os.Exit(0) //nolint:revive,deep-exit
}

func tempYAML(t *testing.T, content string) os.File {
Expand Down

0 comments on commit 43f68a3

Please sign in to comment.