-
Notifications
You must be signed in to change notification settings - Fork 66
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
Change formatter to black to strongly enforce pep8 style #744
Conversation
…'main' of github.com:microsoft/MLOS into stylechanges
@microsoft-github-policy-service agree |
When we're done with this one, let's add a new |
Playing with this locally atm. |
#762 and #763 have some Makefile improvements to prepare for this. Will take up the actual reformatting and enablement of those after those are thru. Closing this one for now. |
Previously this project used autopep8. This did not automatically enforce many aspects of style causing many files to use different styles. Additionally not all standards in pep8 were being enforced.
This PR attempts to solve this by switching to black, a more aggressive style formatter, while also bringing all files in compliance to ensure a uniform style.
All changes outside of the makefile, and .vscode were made using the formatted itself.