diff options
author | Jeremy Leconte <jleconte@webrtc.org> | 2021-12-07 19:49:48 +0100 |
---|---|---|
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-12-08 08:53:00 +0000 |
commit | f22c78b01a94d287706f8d20c1283f3be63dce52 (patch) | |
tree | 0712419ac8498a740bf2139e23355a6819a82fb0 /.style.yapf | |
parent | 035f0446c88e62c1326b111eedba6853b9f875d1 (diff) | |
download | webrtc-f22c78b01a94d287706f8d20c1283f3be63dce52.tar.gz |
Fix mb.py presubmit issues.
* 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 <mbonadei@webrtc.org>
Reviewed-by: Christoffer Jansson <jansson@google.com>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#35500}
Diffstat (limited to '.style.yapf')
-rw-r--r-- | .style.yapf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.style.yapf b/.style.yapf new file mode 100644 index 0000000000..c34341d425 --- /dev/null +++ b/.style.yapf @@ -0,0 +1,4 @@ +[style] +based_on_style = pep8 +indent_width = 2 +column_limit = 80
\ No newline at end of file |