Add imports checks to linter (#3056)

supersedes https://github.com/woodpecker-ci/woodpecker/pull/874

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
qwerty287
2023-12-29 21:19:42 +01:00
committed by GitHub
parent af513b5a30
commit a37af3eeac
15 changed files with 190 additions and 65 deletions

View File

@@ -94,7 +94,7 @@ func runExec(c *cli.Context, file, repoPath string) error {
axes, err := matrix.ParseString(string(dat))
if err != nil {
return fmt.Errorf("Parse matrix fail")
return fmt.Errorf("parse matrix fail")
}
if len(axes) == 0 {