Skip to content

[Feature][Style] Enable spotless to manage imports #11457

@EricGao888

Description

@EricGao888

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

  • Currently spotless in DS will not manage imports automatically, we need to enable it to fix imports:
  1. Remove unused imports.
  2. Sort imports in better order (instead of simply sorting import alphabetically).
  3. Remove wildcards imports.

Use case

  • Already described above.

Related issues

related: #10963

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions