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

[Merged by Bors] - chore: strip trailing spaces in lean files #2828

Closed
wants to merge 1 commit into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Mar 12, 2023

vscode is already configured by .vscode/settings.json to trim these on save. It's not clear how they've managed to stick around.

By doing this all in one PR now, it avoids getting random whitespace diffs in PRs later.

This was done with a regex search in vscode,

image


Open in Gitpod

@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. labels Mar 12, 2023
@Parcly-Taxel
Copy link
Collaborator

Some people might have, by accident or intent, disabled the trailing space stripping, or they may be using other editors which do not implement trailing space stripping.

@adamtopaz
Copy link
Contributor

Some people use neovim which might not remove trailing whitespace by default.

@adamtopaz
Copy link
Contributor

bors r+

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Mar 12, 2023
bors bot pushed a commit that referenced this pull request Mar 12, 2023
vscode is already configured by `.vscode/settings.json` to trim these on save. It's not clear how they've managed to stick around.

By doing this all in one PR now, it avoids getting random whitespace diffs in PRs later.

This was done with a regex search in vscode,

![image](https://user-images.githubusercontent.com/425260/224557938-4e763925-d69c-411b-89be-4c3141cb4bd7.png)
@bors
Copy link

bors bot commented Mar 12, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: strip trailing spaces in lean files [Merged by Bors] - chore: strip trailing spaces in lean files Mar 12, 2023
@bors bors bot closed this Mar 12, 2023
@bors bors bot deleted the eric-wieser/strip-trailing-spaces branch March 12, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants