Skip to content

Commit

Permalink
Merge pull request #328 from komish/style-checks
Browse files Browse the repository at this point in the history
Apply gofumpt to checks package
  • Loading branch information
komish authored Apr 12, 2023
2 parents aa8ff32 + afd2cc6 commit 253ec68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pkg/chartverifier/checks/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ const (
ExperimentalCheckType CheckType = "Experimental"
)

var setCheckNames = []CheckName{ChartTesting,
var setCheckNames = []CheckName{
ChartTesting,
ContainsTest,
ContainsValuesSchema,
ContainsValues,
Expand All @@ -31,7 +32,8 @@ var setCheckNames = []CheckName{ChartTesting,
NotContainCsiObjects,
NotContainsCRDs,
RequiredAnnotationsPresent,
SignatureIsValid}
SignatureIsValid,
}

func GetChecks() []CheckName {
return setCheckNames
Expand Down
6 changes: 4 additions & 2 deletions pkg/chartverifier/checks/types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package checks

type CheckName string
type CheckType string
type (
CheckName string
CheckType string
)

0 comments on commit 253ec68

Please sign in to comment.