-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Black formatting #1934
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
Black formatting #1934
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things I'd want to see before merging this:
- a script to run the exact command you ran to format the codebase
- addition of checking that
black
has been run / passes on all PRs added to the circleCI config - a descriptive commit message
IMO the changes from the formatter look good, consistency is nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Visually it looks great. I agree with Harper however wrt changes needed before we should go ahead with it. We need to ensure that it is a standard we can continue to stick to.
Looks good, my only worry is that we don't have any explanation that external contributors need to run Could be part of https://github.com/Unity-Technologies/ml-agents/blob/master/CONTRIBUTING.md |
488fd6f
to
f6c9883
Compare
Features: - Reformat code via black. - Adding circleci configurations. - Add contribution guidelines. Steps to reproduce: - `pip install black` - `black <source code directory>`
@harperj fixed PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, one final thing I'd ask for is some indication somewhere in CONTRIUTING.md
or elsewhere that using black is part of the development process.
Otherwise 🚢
@harperj Can you explain this a little bit more? I added a line in |
Sorry @eshvk -- I must have missed that among all of the changes. PR looks good to me. |
No description provided.