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

Remove trailiing whitespace from *.py and *.c files #166

Merged
merged 1 commit into from Aug 10, 2018
Merged

Remove trailiing whitespace from *.py and *.c files #166

merged 1 commit into from Aug 10, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 6, 2018

I managed to make a mess out of the previous pull request so here it is again.
The first pass for formatting the project code.
The travis idea for dealing with whitespace, also good to check the gitignore...

if git --no-pager grep -P '\s+$' -- *.{c,py}; then
  # do something
fi

@andychu andychu merged commit 43822b8 into oils-for-unix:master Aug 10, 2018
@andychu
Copy link
Contributor

andychu commented Aug 10, 2018

Sorry for the delay on this, I've been traveling and babysitting big rendering jobs (blog post may be forthcoming :-) )

Thanks for doing this!

I will keep the git grep thing in mind, although I wonder why not just use grep? We can discuss on issue #81.

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.

1 participant