Skip to content

Conversation

@MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented May 9, 2024

Why are these changes needed?

Based on #2128, run:

  • golangci-lint run --fix --exclude-files _generated.go under ray-operator, cli, experimental folders.
  • golangci-lint run --fix --exclude='SA1019' --exclude-files _generated.go\|datafile.go under apiserver folder.

There are still rules that cannot be autofixed. But they will be handled in different PRs to make the review process smother.

Related issue number

N/A

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
@MortalHappiness MortalHappiness marked this pull request as ready for review May 9, 2024 15:29
@MortalHappiness MortalHappiness changed the title [5/N][Refactor] Run golangci-lint for all files (only autofix rules) [4/N][Refactor] Run golangci-lint for all files (only autofix rules) May 11, 2024
@MortalHappiness MortalHappiness changed the title [4/N][Refactor] Run golangci-lint for all files (only autofix rules) [5/N][Refactor] Run golangci-lint for all files (only autofix rules) May 11, 2024
@kevin85421 kevin85421 merged commit dcc8b71 into ray-project:master May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants