mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Fix PRESUBMIT.py to not run pylint on deleted files.
Bug: None Change-Id: I7963e51dd4b9102c84e22b2ad7b1510e8d29f2d4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226280 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34536}
This commit is contained in:
parent
d695ace023
commit
b58f7eb97d
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ def CommonChecks(input_api, output_api):
|
|||
python_file_filter = lambda f: (f.LocalPath().endswith('.py') and
|
||||
source_file_filter(f))
|
||||
python_changed_files = [f.LocalPath() for f in input_api.AffectedFiles(
|
||||
file_filter=python_file_filter)]
|
||||
include_deletes=False, file_filter=python_file_filter)]
|
||||
|
||||
results.extend(
|
||||
input_api.canned_checks.RunPylint(
|
||||
|
|
Loading…
Reference in a new issue