forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python code styles based on what's provided in .style.yapf (ku…
…beflow#2447) * Fix Python code styles based on Pep8 and flake8 * More syle fixes to Python code * Update python code styles based on what's provided in .style.yapf * Sync with master and update styles * Sync with master * More Python style fixes * Changes per code review * Sync with master and update the remaining files * Add a .flake8 config file for future reference
- Loading branch information
1 parent
39060f2
commit 667d618
Showing
85 changed files
with
3,534 additions
and
3,180 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 @@ | ||
[flake8] | ||
ignore = E111, E114 | ||
exclude = .git | ||
max-complexity = 10 |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[style] | ||
based_on_style = google | ||
indent_width: 2 | ||
continuation_indent_width: 2 | ||
indent_width = 2 | ||
continuation_indent_width = 4 | ||
spaces_before_comment = 2 |
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
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
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.