chore: reformat (#3754)

Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
Keith Zantow 2025-03-21 06:13:35 -04:00 committed by GitHub
parent 410b85e1c9
commit 7ac4d91f43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 12 additions and 14 deletions

View File

@ -10,9 +10,9 @@ import (
"time"
"github.com/adrg/xdg"
"github.com/anchore/go-homedir"
"github.com/anchore/clio"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal/cache"
"github.com/anchore/syft/internal/log"
)

View File

@ -9,9 +9,9 @@ import (
"time"
"github.com/adrg/xdg"
"github.com/anchore/go-homedir"
"github.com/stretchr/testify/require"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal"
"github.com/anchore/syft/internal/cache"
)

View File

@ -3,10 +3,9 @@ package options
import (
"fmt"
"github.com/anchore/go-homedir"
"github.com/anchore/clio"
"github.com/anchore/fangs"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/syft/sbom"
)

View File

@ -9,10 +9,10 @@ import (
"sort"
"strings"
"github.com/anchore/go-homedir"
"github.com/hashicorp/go-multierror"
"github.com/scylladb/go-set/strset"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal/bus"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/syft/format"

View File

@ -6,10 +6,10 @@ import (
"strings"
"testing"
"github.com/anchore/go-homedir"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/syft/sbom"
)

View File

@ -11,8 +11,8 @@ import (
"text/template"
"github.com/Masterminds/sprig/v3"
"github.com/anchore/go-homedir"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/syft/format/syftjson"
"github.com/anchore/syft/syft/sbom"
)

View File

@ -14,10 +14,10 @@ import (
"strings"
"time"
"github.com/anchore/go-homedir"
"github.com/bmatcuk/doublestar/v4"
"github.com/spf13/afero"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal/log"
"github.com/anchore/syft/syft/file"
)

View File

@ -6,7 +6,6 @@ import (
"strings"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal/log"
)

View File

@ -4,8 +4,9 @@ import (
"path/filepath"
"testing"
"github.com/anchore/go-homedir"
"github.com/stretchr/testify/assert"
"github.com/anchore/go-homedir"
)
func Test_Config(t *testing.T) {

View File

@ -10,7 +10,6 @@ import (
"strings"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal"
"github.com/anchore/syft/internal/log"
)

View File

@ -5,9 +5,9 @@ import (
"path/filepath"
"testing"
"github.com/anchore/go-homedir"
"github.com/stretchr/testify/require"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/internal"
)

View File

@ -4,9 +4,9 @@ import (
"context"
"fmt"
"github.com/anchore/go-homedir"
"github.com/spf13/afero"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/syft/source"
)

View File

@ -5,9 +5,9 @@ import (
"crypto"
"fmt"
"github.com/anchore/go-homedir"
"github.com/spf13/afero"
"github.com/anchore/go-homedir"
"github.com/anchore/syft/syft/source"
)