Skip to content

Commit

Permalink
Fix mb.py presubmit issues.
Browse files Browse the repository at this point in the history
* Add a config file for python formatting (.style.yapf).
* Change the default indentation from 4 spaces to 2 spaces.
* Run 'git cl format --python' on a few python files.

Bug: webrtc:13413
Change-Id: Ia71135131276c2c499b00032d57ad16ee5200a5c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238982
Reviewed-by: Mirko Bonadei <[email protected]>
Reviewed-by: Christoffer Jansson <[email protected]>
Reviewed-by: Henrik Andreassson <[email protected]>
Commit-Queue: Jeremy Leconte <[email protected]>
Cr-Commit-Position: refs/heads/main@{#35500}
  • Loading branch information
Jeremy Leconte authored and WebRTC LUCI CQ committed Dec 8, 2021
1 parent 035f044 commit f22c78b
Show file tree
Hide file tree
Showing 6 changed files with 1,827 additions and 1,766 deletions.
4 changes: 4 additions & 0 deletions .style.yapf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[style]
based_on_style = pep8
indent_width = 2
column_limit = 80
1 change: 1 addition & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ per-file [email protected]
per-file WATCHLISTS=*
per-file [email protected]
per-file [email protected]
per-file [email protected]
Loading

0 comments on commit f22c78b

Please sign in to comment.