-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a yapf file and formated the scripts and pytest code (#2675)
Summary: Currently there was no formater in the scripts folder. I have added the yapf configuration file and formated the python folders. YAPF is a code formatter mainainted and developed at Google: https://github.com/google/yapf and I've set it up to use the codeformat they use there, but open to other options. Test Plan: ``` yapf -i scripts/*.py git status ```
- Loading branch information
Showing
73 changed files
with
2,250 additions
and
1,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[style] | ||
based_on_style = google | ||
indent_width = 4 | ||
column_limit = 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.