Skip to content

Commit

Permalink
lib: nolint directives for interfacebloat
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed Aug 16, 2023
1 parent aca1a2d commit a4ad16f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/executors.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ type ExecutionStep struct {
// TODO: make []ExecutionStep or []ExecutorConfig their own type?

// ExecutorConfig is an interface that should be implemented by all executor config types
//
//nolint:interfacebloat // We don't have plan to split it.
type ExecutorConfig interface {
Validate() []error

Expand Down
5 changes: 5 additions & 0 deletions lib/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ type VUActivationParams struct {
//
// TODO: Rename this to something more obvious? This name made sense a very long
// time ago.
//
// interfacebloat: We may evaluate in the future to move out some methods;
// but considering how central it is, it would require a huge effort.
//
//nolint:interfacebloat
type Runner interface {
// Creates an Archive of the runner. There should be a corresponding NewFromArchive() function
// that will restore the runner from the archive.
Expand Down

0 comments on commit a4ad16f

Please sign in to comment.