Skip to content

Conversation

MortalHappiness
Copy link
Member

@MortalHappiness MortalHappiness commented May 9, 2024

Why are these changes needed?

Add pre-commit hooks supports so that developers can know format errors without running the CI.

Reference: https://github.com/nginxinc/nginx-gateway-fabric/blob/0b0f7111364cd6f06883e414f7ef118207ee7677/.pre-commit-config.yaml

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 :(

@MortalHappiness MortalHappiness changed the title [Chore] Add pre-commit hooks [1/N][Chore] Add pre-commit hooks May 9, 2024
@MortalHappiness MortalHappiness force-pushed the feature/pre-commit branch 4 times, most recently from e3acc4b to d7376c5 Compare May 9, 2024 14:44
@MortalHappiness MortalHappiness force-pushed the feature/pre-commit branch 4 times, most recently from a8b61a6 to 95137bc Compare May 9, 2024 15:43
Signed-off-by: Chi-Sheng Liu <chishengliu@chishengliu.com>
@kevin85421 kevin85421 self-requested a review May 9, 2024 18:44
@kevin85421 kevin85421 self-assigned this May 9, 2024
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't review the PR carefully. It doesn't touch the operator codebase, so it is safe to merge. I will merge it and try it on my devbox.

@kevin85421 kevin85421 merged commit 49a5725 into ray-project:master May 9, 2024
@kevin85421
Copy link
Member

I tried it locally by adding trailing whitespaces in a YAML file. It works. Niceeeeee!

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