Skip to content

STY: Fix weird indents to be multiples of 4 spaces #13169

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
merged 1 commit into from
Mar 21, 2019

Conversation

eric-wieser
Copy link
Member

Extracted from #9705, plus a few greps to find other occurrences

@mattip
Copy link
Member

mattip commented Mar 21, 2019

Personally not a big fan of style-only fixes, they mess with history and make it hard to track where and why and in what context code was written. Are these really necessary?

@eric-wieser
Copy link
Member Author

Better to have them in their own commit than to have an unrelated commit message touching these lines to fix them. Given that we mention the STY marker in our dev guide, I assume at least at some point we were ok with this type of commit.

@charris
Copy link
Member

charris commented Mar 21, 2019

I think this is OK, it's not that big. My name is all over the history of some of these files because of the initial style fixes back around 1.3, not because I wrote the code. There is probably a style checker out there somewhere that we could adapt to keep these fixes to a minimum in the future.

@mattip mattip merged commit e868917 into numpy:master Mar 21, 2019
@mattip
Copy link
Member

mattip commented Mar 21, 2019

Thanks Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants