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}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 6c4a04c..e951936 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -922,7 +922,7 @@
     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(