Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Code Quality] Remove trailing whitespace #21

Merged
merged 1 commit into from
Jun 22, 2022
Merged

[Code Quality] Remove trailing whitespace #21

merged 1 commit into from
Jun 22, 2022

Conversation

zhiqwang
Copy link
Contributor

@zhiqwang zhiqwang commented Jun 22, 2022

Use pre-commit to auto remove all trailing whitespace.

Usage

Use pip (or brew in macOS) to install pre-commit first

pip install pre-commit

Install the git hook scripts to this project

pre-commit install

Run against all the files

$ pre-commit run --all-files

@Chilicyy Chilicyy merged commit be354e8 into meituan:main Jun 22, 2022
@Chilicyy
Copy link
Collaborator

LGTM, THX.

@zhiqwang zhiqwang deleted the feat/add-pre-commit branch June 22, 2022 12:44
mtjhl pushed a commit that referenced this pull request Jun 29, 2022
[Code Quality] Remove trailing whitespace
@triple-Mu triple-Mu mentioned this pull request Jun 29, 2022
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.

None yet

2 participants