From b50ad50fe10069fc659fd5b093e38c5264a46a62 Mon Sep 17 00:00:00 2001 From: Gyanendra Mishra Date: Mon, 3 Jun 2024 12:46:46 +0100 Subject: [PATCH] dont validate doc strings by default --- cli/cli/commands/lint/lint.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cli/cli/commands/lint/lint.go b/cli/cli/commands/lint/lint.go index eefdd0e7f9..be7d0d268f 100644 --- a/cli/cli/commands/lint/lint.go +++ b/cli/cli/commands/lint/lint.go @@ -4,6 +4,12 @@ import ( "context" _ "embed" "fmt" + "io" + "os" + "os/exec" + "path" + "path/filepath" + "github.com/kurtosis-tech/kurtosis-package-indexer/server/crawler" "github.com/kurtosis-tech/kurtosis/cli/cli/command_framework/lowlevel" "github.com/kurtosis-tech/kurtosis/cli/cli/command_framework/lowlevel/args" @@ -11,11 +17,6 @@ import ( "github.com/kurtosis-tech/kurtosis/cli/cli/command_str_consts" "github.com/kurtosis-tech/stacktrace" "github.com/sirupsen/logrus" - "io" - "os" - "os/exec" - "path" - "path/filepath" ) const ( @@ -29,7 +30,7 @@ const ( checkDocStringFlagKey = "check-docstring" checkDocStringFlagShortKey = "c" - checkDocStringDefaultValue = "true" + checkDocStringDefaultValue = "false" pyBlackDockerImage = "pyfound/black:23.9.1" dockerRunCmd = "run"