mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Add doc on how to handle python presubmit failures.
Change-Id: I346b622e6b9934090c0a6b5fd9d81596e957a14e Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357882 Commit-Queue: Jeremy Leconte <jleconte@google.com> Reviewed-by: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42685}
This commit is contained in:
parent
e02a200f5e
commit
c81f07b95d
1 changed files with 5 additions and 0 deletions
|
@ -238,7 +238,12 @@ WebRTC follows the
|
|||
|
||||
WebRTC follows [Chromium's Python style][chr-py-style].
|
||||
|
||||
Chromium's Python style is now using PEP-8 and not all Python code has been migrated.
|
||||
For this reason running presubmit on old WebRTC python script might trigger failures.
|
||||
The failures can either be fixed are ignored by adding the script to the [PYLINT_OLD_STYLE][old-style-lint] list.
|
||||
|
||||
[chr-py-style]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/python/python.md
|
||||
[old-style-lint]: https://source.chromium.org/chromium/_/webrtc/src/+/9b81d2c954128831c62d8a0657c7f955b3c02d32:PRESUBMIT.py;l=50
|
||||
|
||||
## Build files
|
||||
|
||||
|
|
Loading…
Reference in a new issue