<#4303 Support `make lint` auto fix `goimport pack...
# flyte-github
a
#4303 Support
make lint
auto fix
goimport packages
in all flyte components
Pull request opened by Future-Outlier Describe your changes Right now, users don't need to type
make lint; make goimports
to lint the golang files. They just need to type
make lint
only. Check all the applicable boxes ☐ I updated the documentation accordingly. ☐ All new and existing tests passed. ☑︎ All commits are signed-off. Screenshots

image▾

You can see the line here.
GL_DEBUG=linters_output,env golangci-lint run --fix --deadline=5m --exclude deprecated -v
flyteorg/flyte GitHub Actions: Unit Tests (flytestdlib) / Run Unit Test GitHub Actions: Unit Tests (flytepropeller) / Run Unit Test GitHub Actions: Unit Tests (flyteplugins) / Run Unit Test GitHub Actions: Unit Tests (flytecopilot) / Run Unit Test GitHub Actions: Unit Tests (flyteadmin) / Run Unit Test GitHub Actions: Unit Tests (datacatalog) / Run Unit Test GitHub Actions: Lint (flytestdlib) / Run Lint GitHub Actions: Lint (flytepropeller) / Run Lint GitHub Actions: Lint (flyteplugins) / Run Lint GitHub Actions: Lint (flyteidl) / Run Lint GitHub Actions: Lint (datacatalog) / Run Lint GitHub Actions: Lint (flyteadmin) / Run Lint GitHub Actions: Check Go Generate (flytepropeller) / Go Generate GitHub Actions: Check Go Generate (flytecopilot) / Go Generate GitHub Actions: Check Go Generate (flyteadmin) / Go Generate GitHub Actions: Check Go Generate (datacatalog) / Go Generate GitHub Actions: Lint / Run Lint GitHub Actions: Check Go Generate / Go Generate GitHub Actions: Unit Tests / Run Unit Test GitHub Actions: Docker Build Images (flytepropeller) / build_docker GitHub Actions: Docker Build Images (flyteadmin) / build_docker GitHub Actions: Docker Build Images (flytecopilot) / build_docker GitHub Actions: Docker Build Images (datacatalog) / build_docker GitHub Actions: compile GitHub Actions: docs ✅ 5 other checks have passed 5/30 successful checks