Skip to content

Add pre-commit hooks to format trailing whitespaces#924

Merged
aiuto merged 1 commit intobazelbuild:mainfrom
hofbi:fix-whitespaces
Jan 20, 2025
Merged

Add pre-commit hooks to format trailing whitespaces#924
aiuto merged 1 commit intobazelbuild:mainfrom
hofbi:fix-whitespaces

Conversation

@hofbi
Copy link
Copy Markdown
Contributor

@hofbi hofbi commented Jan 20, 2025

Motivated by #923, every user whos IDE removes trailing whitespaces will create a larger diff than needed. With these hooks we can automatically remove them.

Ideally merge after #922 to make sure the hook is checked in CI.

@aiuto aiuto merged commit 7758f2c into bazelbuild:main Jan 20, 2025
@hofbi hofbi deleted the fix-whitespaces branch January 21, 2025 07:37
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