Skip to content

Commit

Permalink
make lint_provider.fix
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Jan 9, 2025
1 parent b6c06c0 commit 71ba4c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions provider/cmd/pulumi-gen-awsx/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@ import (
"strings"

"github.com/pkg/errors"
gen "github.com/pulumi/pulumi-awsx/provider/v2/pkg/schemagen"
"github.com/pulumi/pulumi-awsx/provider/v2/pkg/version"
"github.com/spf13/cobra"

dotnetgen "github.com/pulumi/pulumi/pkg/v3/codegen/dotnet"
gogen "github.com/pulumi/pulumi/pkg/v3/codegen/go"
nodegen "github.com/pulumi/pulumi/pkg/v3/codegen/nodejs"
pygen "github.com/pulumi/pulumi/pkg/v3/codegen/python"
"github.com/pulumi/pulumi/pkg/v3/codegen/schema"
"github.com/spf13/cobra"

gen "github.com/pulumi/pulumi-awsx/provider/v2/pkg/schemagen"
"github.com/pulumi/pulumi-awsx/provider/v2/pkg/version"
)

const (
Expand Down
3 changes: 2 additions & 1 deletion provider/pkg/schemagen/ec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
package gen

import (
_ "embed"
"fmt"
"strings"

_ "embed"

Check failure on line 21 in provider/pkg/schemagen/ec2.go

View workflow job for this annotation

GitHub Actions / lint / lint

blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)

"github.com/pulumi/pulumi/pkg/v3/codegen/schema"
)

Expand Down
3 changes: 2 additions & 1 deletion provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ import (
"path/filepath"
"testing"

"github.com/stretchr/testify/require"

"github.com/pulumi/providertest"
"github.com/pulumi/providertest/optproviderupgrade"
"github.com/pulumi/providertest/pulumitest"
"github.com/pulumi/providertest/pulumitest/assertpreview"
"github.com/pulumi/providertest/pulumitest/opttest"
"github.com/stretchr/testify/require"
)

func TestReportUpgradeCoverage(t *testing.T) {
Expand Down

0 comments on commit 71ba4c2

Please sign in to comment.