Skip to content

Commit

Permalink
Excavator: Removes legacy format-plugin.yml configuration (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Apr 27, 2021
1 parent 99b0de7 commit 2f8ee17
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
4 changes: 0 additions & 4 deletions godel/config/format-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
formatters:
ptimports:
config:
separate-project-imports: true
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ import (
"os"

"github.com/palantir/amalgomate/amalgomated"
"github.com/palantir/okgo/checker"
"github.com/palantir/pkg/cobracli"

amalgomatedcheck "github.com/palantir/godel-okgo-asset-outparamcheck/generated_src"
"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config"
"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/creator"
"github.com/palantir/okgo/checker"
"github.com/palantir/pkg/cobracli"
)

func main() {
Expand Down
3 changes: 1 addition & 2 deletions outparamcheck/config/internal/legacy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ package legacy
import (
"encoding/json"

v0 "github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config/internal/v0"
"github.com/palantir/godel/v2/pkg/versionedconfig"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"

v0 "github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config/internal/v0"
)

type Config struct {
Expand Down
5 changes: 2 additions & 3 deletions outparamcheck/config/upgradeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
package config

import (
"github.com/palantir/godel/v2/pkg/versionedconfig"
"github.com/pkg/errors"

"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config/internal/legacy"
v0 "github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config/internal/v0"
"github.com/palantir/godel/v2/pkg/versionedconfig"
"github.com/pkg/errors"
)

func UpgradeConfig(cfgBytes []byte) ([]byte, error) {
Expand Down
5 changes: 2 additions & 3 deletions outparamcheck/creator/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
package creator

import (
"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck"
"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config"
"github.com/palantir/okgo/checker"
"github.com/palantir/okgo/okgo"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"

"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck"
"github.com/palantir/godel-okgo-asset-outparamcheck/outparamcheck/config"
)

func Outparamcheck() checker.Creator {
Expand Down

0 comments on commit 2f8ee17

Please sign in to comment.