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

blacken the codebase #57

Merged
merged 10 commits into from
Jan 14, 2019
Merged

blacken the codebase #57

merged 10 commits into from
Jan 14, 2019

Conversation

ngoldbaum
Copy link
Member

This formats the codebase with black, a formatter for python code. Overall I'm happy with most of the changes it made. There are a few places where it makes things less clear but I think that's worth it for the automation and lack of need to fight about formatting in the future.

I've added a test for black and have ignored a couple of flake8 rules as suggested in the black docs. I've also increased the max line length to 88 characters.

I'm happy to bikeshed on this stuff, however black has few configuration knobs (on purpose) so there's not much I can do to control the formatting output.

@matthewturk
Copy link
Member

I love this!

@ngoldbaum
Copy link
Member Author

OK tests are all passing now. @jzuhone would you mind doing the honors if you're ok with everything?

@ngoldbaum
Copy link
Member Author

(I dropped python3.4 testing because numpy just dropped support as well)

@jzuhone jzuhone merged commit ef43c27 into yt-project:master Jan 14, 2019
@ngoldbaum ngoldbaum deleted the black branch March 8, 2019 17:09
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.

3 participants