Preparing report...

Report for github.com/bvobart/mllint

A+    Excellent!    Found 83 issues across 119 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint32%

Golint is a linter for Go source code.

    • mllint/setools/cqlinters/bandit.go
    • Line 13: warning: exported type Bandit should have comment or be unexported (golint)
    • Line 15: warning: exported method Bandit.Type should have comment or be unexported (golint)
    • Line 23: warning: exported method Bandit.DependencyName should have comment or be unexported (golint)
    • Line 27: warning: exported method Bandit.IsInstalled should have comment or be unexported (golint)
    • Line 32: warning: exported method Bandit.IsConfigured should have comment or be unexported (golint)
    • Line 36: warning: exported method Bandit.IsProperlyConfigured should have comment or be unexported (golint)
    • Line 40: warning: exported method Bandit.Run should have comment or be unexported (golint)
    • mllint/setools/cqlinters/mypy.go
    • Line 14: warning: exported type Mypy should have comment or be unexported (golint)
    • Line 16: warning: exported method Mypy.Type should have comment or be unexported (golint)
    • Line 24: warning: exported method Mypy.DependencyName should have comment or be unexported (golint)
    • Line 28: warning: exported method Mypy.IsInstalled should have comment or be unexported (golint)
    • Line 33: warning: exported method Mypy.IsConfigured should have comment or be unexported (golint)
    • Line 37: warning: exported method Mypy.IsProperlyConfigured should have comment or be unexported (golint)
    • Line 41: warning: exported method Mypy.Run should have comment or be unexported (golint)
    • mllint/linters/codequality/linter.go
    • Line 42: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 46: warning: exported type CQLinter should have comment or be unexported (golint)
    • Line 51: warning: exported method CQLinter.Name should have comment or be unexported (golint)
    • Line 55: warning: exported method CQLinter.Rules should have comment or be unexported (golint)
    • Line 63: warning: exported method CQLinter.SetRunner should have comment or be unexported (golint)
    • Line 67: warning: exported method CQLinter.Configure should have comment or be unexported (golint)
    • Line 72: warning: exported method CQLinter.LintProject should have comment or be unexported (golint)
    • mllint/commands/mllint/runner.go
    • Line 28: warning: comment on exported type MLLintRunner should be of the form "MLLintRunner ..." (with optional leading article) (golint)
    • Line 101: warning: exported method MLLintRunner.CollectTasks should have comment or be unexported (golint)
    • mllint/setools/git/git.go
    • Line 21: warning: comment on exported function GetGitRoot should be of the form "GetGitRoot ..." (golint)
    • Line 55: warning: exported function GetCurrentCommit should have comment or be unexported (golint)
    • Line 60: warning: exported function GetCurrentBranch should have comment or be unexported (golint)
    • Line 129: warning: exported function FindLargeFilesInHistory should have comment or be unexported (golint)
    • mllint/linters/common/composite.go
    • Line 12: warning: exported function NewCompositeLinter should have comment or be unexported (golint)
    • Line 20: warning: exported type CompositeLinter should have comment or be unexported (golint)
    • Line 27: warning: exported method CompositeLinter.Name should have comment or be unexported (golint)
    • Line 31: warning: exported method CompositeLinter.Rules should have comment or be unexported (golint)
    • Line 35: warning: exported method CompositeLinter.SetRunner should have comment or be unexported (golint)
    • Line 39: warning: exported method CompositeLinter.Configure should have comment or be unexported (golint)
    • Line 51: warning: exported method CompositeLinter.LintProject should have comment or be unexported (golint)
    • mllint/linters/testing/rules.go
    • Line 5: warning: exported var RuleHasTests should have comment or be unexported (golint)
    • Line 42: warning: exported var RuleTestsPass should have comment or be unexported (golint)
    • Line 68: warning: exported var RuleTestCoverage should have comment or be unexported (golint)
    • Line 118: warning: exported var RuleTestsFolder should have comment or be unexported (golint)
    • mllint/setools/depmanagers/pipenv.go
    • Line 35: warning: exported type Pipenv should have comment or be unexported (golint)
    • Line 40: warning: exported type Pipfile should have comment or be unexported (golint)
    • Line 45: warning: exported method Pipenv.Type should have comment or be unexported (golint)
    • Line 49: warning: exported method Pipenv.HasDependency should have comment or be unexported (golint)
    • Line 53: warning: exported method Pipenv.HasDevDependency should have comment or be unexported (golint)
    • Line 57: warning: exported method Pipenv.Dependencies should have comment or be unexported (golint)
    • mllint/linters/dependencymgmt/rules.go
    • Line 52: warning: comment on exported var DetailsNoRequirementsTxt should be of the form "DetailsNoRequirementsTxt ..." (golint)
    • Line 61: warning: comment on exported var DetailsNoSetupPy should be of the form "DetailsNoSetupPy ..." (golint)
    • Line 86: warning: comment on exported var DetailsRequirementsTxtSetupPy should be of the form "DetailsRequirementsTxtSetupPy ..." (golint)
    • Line 88: warning: exported var DetailsRequirementsTxtPipenv should have comment or be unexported (golint)
    • Line 89: warning: exported var DetailsRequirementsTxtPoetry should have comment or be unexported (golint)
    • Line 90: warning: exported var DetailsPipenvSetupPy should have comment or be unexported (golint)
    • Line 91: warning: exported var DetailsPoetrySetupPy should have comment or be unexported (golint)
    • Line 93: warning: exported var RuleUseDev should have comment or be unexported (golint)
    • mllint/utils/files.go
    • Line 122: warning: exported method Filenames.Concat should have comment or be unexported (golint)
    • Line 126: warning: exported method Filenames.Filter should have comment or be unexported (golint)
    • Line 147: warning: exported method Filenames.CountLoC should have comment or be unexported (golint)
    • mllint/linters/versioncontrol/rules.go
    • Line 40: warning: exported var RuleDVC should have comment or be unexported (golint)
    • Line 69: warning: exported var RuleDVCIsInstalled should have comment or be unexported (golint)
    • Line 81: warning: exported var RuleCommitDVCFolder should have comment or be unexported (golint)
    • Line 95: warning: exported var RuleCommitDVCLock should have comment or be unexported (golint)
    • Line 110: warning: exported var RuleDVCHasRemote should have comment or be unexported (golint)
    • Line 124: warning: exported var RuleDVCHasFiles should have comment or be unexported (golint)
    • mllint/setools/ciproviders/travis.go
    • Line 12: warning: exported type Travis should have comment or be unexported (golint)
    • Line 14: warning: exported method Travis.ConfigFile should have comment or be unexported (golint)
    • Line 14: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 18: warning: exported method Travis.Detect should have comment or be unexported (golint)
    • Line 18: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 22: warning: exported method Travis.Type should have comment or be unexported (golint)
    • Line 22: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • mllint/utils/markdowngen/translate.go
    • Line 10: warning: exported function List should have comment or be unexported (golint)
    • Line 18: warning: exported function ListFiles should have comment or be unexported (golint)
    • Line 26: warning: exported function CodeBlock should have comment or be unexported (golint)
    • mllint/linters/codequality/isort/linter.go
    • Line 12: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 16: warning: exported type ISortLinter should have comment or be unexported (golint)
    • Line 18: warning: exported method ISortLinter.Name should have comment or be unexported (golint)
    • Line 22: warning: exported method ISortLinter.Rules should have comment or be unexported (golint)
    • Line 26: warning: exported method ISortLinter.LintProject should have comment or be unexported (golint)
    • mllint/api/cqlinters.go
    • Line 5: warning: exported type CQLinterType should have comment or be unexported (golint)
    • Line 7: warning: exported type CQLinter should have comment or be unexported (golint)
    • Line 32: warning: exported type CQLinterResult should have comment or be unexported (golint)
    • mllint/setools/ciproviders/providers.go
    • Line 4: warning: exported const TypeAzure should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type ProviderType should have comment or be unexported (golint)
    • Line 20: warning: exported type Provider should have comment or be unexported (golint)
    • mllint/utils/markdowngen/linters.go
    • Line 10: warning: exported function LinterRules should have comment or be unexported (golint)
    • Line 18: warning: exported function LintersOverview should have comment or be unexported (golint)
    • Line 28: warning: exported function CategoryDetails should have comment or be unexported (golint)
    • Line 38: warning: exported function RuleDetails should have comment or be unexported (golint)
    • mllint/setools/cqlinters/black.go
    • Line 11: warning: exported type Black should have comment or be unexported (golint)
    • Line 13: warning: exported method Black.Type should have comment or be unexported (golint)
    • Line 21: warning: exported method Black.DependencyName should have comment or be unexported (golint)
    • Line 25: warning: exported method Black.IsInstalled should have comment or be unexported (golint)
    • Line 30: warning: exported method Black.IsConfigured should have comment or be unexported (golint)
    • Line 39: warning: exported method Black.IsProperlyConfigured should have comment or be unexported (golint)
    • Line 43: warning: exported method Black.Run should have comment or be unexported (golint)
    • mllint/api/depmanagers.go
    • Line 5: warning: exported type DependencyManagerType should have comment or be unexported (golint)
    • Line 15: warning: exported type DependencyManager should have comment or be unexported (golint)
    • Line 30: warning: exported type DependencyManagerList should have comment or be unexported (golint)
    • Line 40: warning: exported method DependencyManagerList.Contains should have comment or be unexported (golint)
    • Line 53: warning: exported method DependencyManagerList.ContainsType should have comment or be unexported (golint)
    • Line 66: warning: exported method DependencyManagerList.ContainsAllTypes should have comment or be unexported (golint)
    • mllint/linters/codequality/isort/rules.go
    • Line 9: warning: exported var RuleNoIssues should have comment or be unexported (golint)
    • Line 18: warning: exported var RuleIsConfigured should have comment or be unexported (golint)
    • Line 39: warning: exported var DetailsNotProperlyConfigured should have comment or be unexported (golint)
    • mllint/linters/codequality/mypy/linter.go
    • Line 16: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 20: warning: exported type MypyLinter should have comment or be unexported (golint)
    • Line 22: warning: exported method MypyLinter.Name should have comment or be unexported (golint)
    • Line 26: warning: exported method MypyLinter.Rules should have comment or be unexported (golint)
    • Line 30: warning: exported method MypyLinter.LintProject should have comment or be unexported (golint)
    • mllint/linters/linters.go
    • Line 36: warning: comment on exported function ConfigureAll should be of the form "ConfigureAll ..." (golint)
    • Line 51: warning: comment on exported function DisableAll should be of the form "DisableAll ..." (golint)
    • Line 62: warning: comment on exported function Disable should be of the form "Disable ..." (golint)
    • mllint/linters/codequality/black/linter.go
    • Line 12: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 16: warning: exported type BlackLinter should have comment or be unexported (golint)
    • Line 18: warning: exported method BlackLinter.Name should have comment or be unexported (golint)
    • Line 22: warning: exported method BlackLinter.Rules should have comment or be unexported (golint)
    • Line 26: warning: exported method BlackLinter.LintProject should have comment or be unexported (golint)
    • mllint/setools/cqlinters/types.go
    • Line 6: warning: exported const TypePylint should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported var AllTypes should have comment or be unexported (golint)
    • Line 21: warning: exported var ByType should have comment or be unexported (golint)
    • mllint/commands/mllint/progress_basic.go
    • Line 12: warning: exported type BasicRunnerProgress should have comment or be unexported (golint)
    • Line 16: warning: exported function NewBasicRunnerProgress should have comment or be unexported (golint)
    • Line 20: warning: exported method BasicRunnerProgress.Start should have comment or be unexported (golint)
    • Line 22: warning: exported method BasicRunnerProgress.RunningTask should have comment or be unexported (golint)
    • Line 26: warning: exported method BasicRunnerProgress.TaskAwaiting should have comment or be unexported (golint)
    • Line 30: warning: exported method BasicRunnerProgress.TaskResuming should have comment or be unexported (golint)
    • Line 34: warning: exported method BasicRunnerProgress.CompletedTask should have comment or be unexported (golint)
    • Line 38: warning: exported method BasicRunnerProgress.AllTasksDone should have comment or be unexported (golint)
    • mllint/commands/list.go
    • Line 15: warning: exported function NewListCommand should have comment or be unexported (golint)
    • Line 31: warning: exported function NewListAllCommand should have comment or be unexported (golint)
    • Line 44: warning: exported function NewListEnabledCommand should have comment or be unexported (golint)
    • mllint/commands/run.go
    • Line 23: warning: exported var ErrNotAFolder should have comment or be unexported (golint)
    • Line 24: warning: exported var ErrOutputFileAlreadyExists should have comment or be unexported (golint)
    • Line 26: warning: exported function NewRunCommand should have comment or be unexported (golint)
    • Line 122: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • mllint/api/rule.go
    • Line 25: warning: exported method Rule.Disable should have comment or be unexported (golint)
    • Line 29: warning: exported method Rule.Enable should have comment or be unexported (golint)
    • mllint/setools/ciproviders/azure.go
    • Line 12: warning: exported type Azure should have comment or be unexported (golint)
    • Line 14: warning: exported method Azure.ConfigFile should have comment or be unexported (golint)
    • Line 14: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 18: warning: exported method Azure.Detect should have comment or be unexported (golint)
    • Line 18: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 22: warning: exported method Azure.Type should have comment or be unexported (golint)
    • Line 22: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • mllint/setools/ciproviders/ghactions.go
    • Line 12: warning: exported type GHActions should have comment or be unexported (golint)
    • Line 14: warning: exported method GHActions.ConfigFile should have comment or be unexported (golint)
    • Line 14: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 18: warning: exported method GHActions.Detect should have comment or be unexported (golint)
    • Line 18: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 28: warning: exported method GHActions.Type should have comment or be unexported (golint)
    • Line 28: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • mllint/linters/custom/linter.go
    • Line 17: warning: comment on exported function NewLinter should be of the form "NewLinter ..." (golint)
    • Line 22: warning: comment on exported type CustomLinter should be of the form "CustomLinter ..." (with optional leading article) (golint)
    • Line 29: warning: exported method CustomLinter.Name should have comment or be unexported (golint)
    • Line 33: warning: exported method CustomLinter.Configure should have comment or be unexported (golint)
    • Line 46: warning: exported method CustomLinter.Rules should have comment or be unexported (golint)
    • Line 50: warning: exported method CustomLinter.SetRunner should have comment or be unexported (golint)
    • Line 54: warning: exported method CustomLinter.LintProject should have comment or be unexported (golint)
    • mllint/setools/cqlinters/pylint.go
    • Line 13: warning: exported type Pylint should have comment or be unexported (golint)
    • Line 15: warning: exported method Pylint.Type should have comment or be unexported (golint)
    • Line 23: warning: exported method Pylint.DependencyName should have comment or be unexported (golint)
    • Line 27: warning: exported method Pylint.IsInstalled should have comment or be unexported (golint)
    • Line 32: warning: exported method Pylint.IsConfigured should have comment or be unexported (golint)
    • Line 36: warning: exported method Pylint.IsProperlyConfigured should have comment or be unexported (golint)
    • Line 40: warning: exported method Pylint.Run should have comment or be unexported (golint)
    • mllint/setools/depmanagers/poetry.go
    • Line 34: warning: exported type Poetry should have comment or be unexported (golint)
    • Line 38: warning: exported method Poetry.Type should have comment or be unexported (golint)
    • Line 42: warning: exported method Poetry.HasDependency should have comment or be unexported (golint)
    • Line 46: warning: exported method Poetry.HasDevDependency should have comment or be unexported (golint)
    • Line 50: warning: exported method Poetry.Dependencies should have comment or be unexported (golint)
    • mllint/linters/template/linter.go
    • Line 9: warning: comment on exported function NewLinter should be of the form "NewLinter ..." (golint)
    • Line 14: warning: comment on exported type Linter should be of the form "Linter ..." (with optional leading article) (golint)
    • Line 17: warning: exported method Linter.Name should have comment or be unexported (golint)
    • Line 21: warning: exported method Linter.Rules should have comment or be unexported (golint)
    • Line 25: warning: exported method Linter.LintProject should have comment or be unexported (golint)
    • mllint/setools/depmanagers/pyproject.go
    • Line 10: warning: exported type PyProjectTOML should have comment or be unexported (golint)
    • Line 21: warning: exported type PoetryConfig should have comment or be unexported (golint)
    • Line 26: warning: exported function ReadPyProjectTOML should have comment or be unexported (golint)
    • mllint/linters/codequality/bandit/linter.go
    • Line 16: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 20: warning: exported type BanditLinter should have comment or be unexported (golint)
    • Line 22: warning: exported method BanditLinter.Name should have comment or be unexported (golint)
    • Line 26: warning: exported method BanditLinter.Rules should have comment or be unexported (golint)
    • Line 30: warning: exported method BanditLinter.LintProject should have comment or be unexported (golint)
    • mllint/commands/mllint/interfaces.go
    • Line 9: warning: exported type Runner should have comment or be unexported (golint)
    • Line 17: warning: exported function DisplayName should have comment or be unexported (golint)
    • Line 43: warning: exported type WithRunner should have comment or be unexported (golint)
    • Line 47: warning: exported type LinterWithRunner should have comment or be unexported (golint)
    • Line 52: warning: exported type ConfigurableLinterWithRunner should have comment or be unexported (golint)
    • mllint/linters/ci/linter.go
    • Line 9: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 13: warning: exported type CILinter should have comment or be unexported (golint)
    • Line 15: warning: exported method CILinter.Name should have comment or be unexported (golint)
    • Line 19: warning: exported method CILinter.Rules should have comment or be unexported (golint)
    • Line 23: warning: exported method CILinter.LintProject should have comment or be unexported (golint)
    • mllint/setools/cqlinters/isort.go
    • Line 13: warning: exported type ISort should have comment or be unexported (golint)
    • Line 15: warning: exported method ISort.Type should have comment or be unexported (golint)
    • Line 23: warning: exported method ISort.DependencyName should have comment or be unexported (golint)
    • Line 27: warning: exported method ISort.IsInstalled should have comment or be unexported (golint)
    • Line 32: warning: exported method ISort.IsConfigured should have comment or be unexported (golint)
    • Line 44: warning: exported method ISort.IsProperlyConfigured should have comment or be unexported (golint)
    • Line 52: warning: exported method ISort.Run should have comment or be unexported (golint)
    • mllint/linters/codequality/pylint/linter.go
    • Line 16: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 20: warning: exported type PylintLinter should have comment or be unexported (golint)
    • Line 22: warning: exported method PylintLinter.Name should have comment or be unexported (golint)
    • Line 26: warning: exported method PylintLinter.Rules should have comment or be unexported (golint)
    • Line 30: warning: exported method PylintLinter.LintProject should have comment or be unexported (golint)
    • mllint/linters/testing/linter.go
    • Line 24: warning: exported var ErrCoverageTargetTooHigh should have comment or be unexported (golint)
    • Line 25: warning: exported var ErrCoverageTargetTooLow should have comment or be unexported (golint)
    • Line 27: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 31: warning: exported type TestingLinter should have comment or be unexported (golint)
    • Line 36: warning: exported method TestingLinter.Name should have comment or be unexported (golint)
    • Line 40: warning: exported method TestingLinter.Configure should have comment or be unexported (golint)
    • Line 50: warning: exported method TestingLinter.Rules should have comment or be unexported (golint)
    • Line 54: warning: exported method TestingLinter.LintProject should have comment or be unexported (golint)
    • Line 71: warning: exported method TestingLinter.ScoreRuleHasTests should have comment or be unexported (golint)
    • Line 108: warning: exported method TestingLinter.ScoreRuleTestsFolder should have comment or be unexported (golint)
    • Line 152: warning: exported method TestingLinter.ScoreRuleTestsPass should have comment or be unexported (golint)
    • Line 207: warning: exported method TestingLinter.ScoreRuleTestCoverage should have comment or be unexported (golint)
    • mllint/config/config.go
    • Line 73: warning: exported type TestingTargets should have comment or be unexported (golint)
    • Line 82: warning: exported type TestingTargetsRatio should have comment or be unexported (golint)
    • Line 89: warning: exported type TestCoverage should have comment or be unexported (golint)
    • Line 100: warning: exported type TestCoverageTargets should have comment or be unexported (golint)
    • Line 107: warning: exported function Default should have comment or be unexported (golint)
    • Line 138: warning: exported type FileType should have comment or be unexported (golint)
    • Line 141: warning: exported const TypeDefault should have comment (or a comment on this block) or be unexported (golint)
    • Line 211: warning: comment on exported function ParseTOML should be of the form "ParseTOML ..." (golint)
    • Line 229: warning: exported method Config.YAML should have comment or be unexported (golint)
    • Line 233: warning: exported method Config.TOML should have comment or be unexported (golint)
    • mllint/commands/flags.go
    • Line 18: warning: exported function SetQuietFlag should have comment or be unexported (golint)
    • Line 22: warning: exported function SetOutputFlag should have comment or be unexported (golint)
    • Line 52: warning: exported function SetForceFlag should have comment or be unexported (golint)
    • Line 56: warning: exported function SetProgressPlainFlag should have comment or be unexported (golint)
    • mllint/api/report.go
    • Line 18: warning: exported function NewReport should have comment or be unexported (golint)
    • Line 25: warning: exported function MergeReports should have comment or be unexported (golint)
    • mllint/setools/depmanagers/pip.go
    • Line 33: warning: exported type RequirementsTxt should have comment or be unexported (golint)
    • Line 38: warning: exported method RequirementsTxt.Type should have comment or be unexported (golint)
    • Line 42: warning: exported method RequirementsTxt.HasDependency should have comment or be unexported (golint)
    • Line 48: warning: exported method RequirementsTxt.HasDevDependency should have comment or be unexported (golint)
    • Line 54: warning: exported method RequirementsTxt.Dependencies should have comment or be unexported (golint)
    • Line 77: warning: exported type SetupPy should have comment or be unexported (golint)
    • Line 81: warning: exported method SetupPy.Type should have comment or be unexported (golint)
    • Line 85: warning: exported method SetupPy.HasDependency should have comment or be unexported (golint)
    • Line 90: warning: exported method SetupPy.HasDevDependency should have comment or be unexported (golint)
    • Line 95: warning: exported method SetupPy.Dependencies should have comment or be unexported (golint)
    • mllint/linters/versioncontrol/dvc.go
    • Line 17: warning: exported method DVCLinter.Name should have comment or be unexported (golint)
    • Line 21: warning: exported method DVCLinter.Rules should have comment or be unexported (golint)
    • Line 25: warning: exported method DVCLinter.LintProject should have comment or be unexported (golint)
    • mllint/linters/dependencymgmt/linter.go
    • Line 15: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 19: warning: comment on exported type DependenciesLinter should be of the form "DependenciesLinter ..." (with optional leading article) (golint)
    • Line 23: warning: exported method DependenciesLinter.Name should have comment or be unexported (golint)
    • Line 27: warning: exported method DependenciesLinter.Rules should have comment or be unexported (golint)
    • Line 31: warning: exported method DependenciesLinter.LintProject should have comment or be unexported (golint)
    • Line 42: warning: exported method DependenciesLinter.ScoreRuleUse should have comment or be unexported (golint)
    • Line 63: warning: exported method DependenciesLinter.ScoreRuleSingle should have comment or be unexported (golint)
    • Line 96: warning: exported method DependenciesLinter.ScoreRuleUseDev should have comment or be unexported (golint)
    • mllint/linters/testutils/options.go
    • Line 10: warning: exported type LinterTestOptions should have comment or be unexported (golint)
    • Line 21: warning: exported function NewOptions should have comment or be unexported (golint)
    • Line 25: warning: exported method LinterTestOptions.DetectPythonFiles should have comment or be unexported (golint)
    • Line 30: warning: exported method LinterTestOptions.DetectDepManagers should have comment or be unexported (golint)
    • Line 35: warning: exported method LinterTestOptions.DetectCQLinters should have comment or be unexported (golint)
    • Line 40: warning: exported method LinterTestOptions.UsePythonFiles should have comment or be unexported (golint)
    • Line 45: warning: exported method LinterTestOptions.UseDepManagers should have comment or be unexported (golint)
    • Line 50: warning: exported method LinterTestOptions.UseCQLinters should have comment or be unexported (golint)
    • Line 55: warning: exported method LinterTestOptions.WithConfig should have comment or be unexported (golint)
    • Line 60: warning: exported method LinterTestOptions.WithRunner should have comment or be unexported (golint)
    • mllint/commands/root.go
    • Line 11: warning: exported function Execute should have comment or be unexported (golint)
    • Line 21: warning: exported function NewRootCommand should have comment or be unexported (golint)
    • mllint/setools/ciproviders/gitlab.go
    • Line 12: warning: exported type Gitlab should have comment or be unexported (golint)
    • Line 14: warning: exported method Gitlab.ConfigFile should have comment or be unexported (golint)
    • Line 14: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 18: warning: exported method Gitlab.Detect should have comment or be unexported (golint)
    • Line 18: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 22: warning: exported method Gitlab.Type should have comment or be unexported (golint)
    • Line 22: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • mllint/utils/exec/exec.go
    • Line 42: warning: comment on exported function DefaultCommandCombinedOutput should be of the form "DefaultCommandCombinedOutput ..." (golint)
    • Line 49: warning: exported function DefaultPipelineOutput should have comment or be unexported (golint)
    • mllint/linters/versioncontrol/git.go
    • Line 17: warning: exported type GitLinter should have comment or be unexported (golint)
    • Line 21: warning: exported method GitLinter.Name should have comment or be unexported (golint)
    • Line 25: warning: exported method GitLinter.Rules should have comment or be unexported (golint)
    • Line 29: warning: exported method GitLinter.Configure should have comment or be unexported (golint)
    • Line 34: warning: exported method GitLinter.LintProject should have comment or be unexported (golint)
    • mllint/api/linter.go
    • Line 28: warning: comment on exported type Configurable should be of the form "Configurable ..." (with optional leading article) (golint)
    • mllint/commands/mllint/progress_live.go
    • Line 30: warning: exported function NewLiveRunnerProgress should have comment or be unexported (golint)
    • Line 61: warning: exported method LiveRunnerProgress.TaskAwaiting should have comment or be unexported (golint)
    • Line 66: warning: exported method LiveRunnerProgress.TaskResuming should have comment or be unexported (golint)
    • mllint/categories/categories.go
    • Line 11: warning: exported var VersionControl should have comment or be unexported (golint)
    • Line 25: warning: exported var FileStructure should have comment or be unexported (golint)
    • Line 36: warning: exported var DependencyMgmt should have comment or be unexported (golint)
    • Line 56: warning: exported var CodeQuality should have comment or be unexported (golint)
    • Line 99: warning: exported var DataQuality should have comment or be unexported (golint)
    • Line 109: warning: exported var Testing should have comment or be unexported (golint)
    • Line 142: warning: exported var ContinuousIntegration should have comment or be unexported (golint)
    • Line 166: warning: exported var Deployment should have comment or be unexported (golint)
    • Line 174: warning: exported var Custom should have comment or be unexported (golint)
    • Line 243: warning: exported var All should have comment or be unexported (golint)
    • Line 255: warning: exported var BySlug should have comment or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell94%

Misspell Finds commonly misspelled English words

    • mllint/utils/files_test.go
    • Line 25: warning: "existant" is a misspelling of "existent" (misspell)
    • Line 36: warning: "existant" is a misspelling of "existent" (misspell)
    • Line 64: warning: "existant" is a misspelling of "existent" (misspell)