PRESUBMIT: Don't check formatting of deleted files

Change-Id: I78eff440486eb2e76acdbd8a43c6c99cf6ed9bbb
Bug: chromium:1064305
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/282276
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 071965e..dbdec90 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -163,7 +163,7 @@
 def _CheckGNFormatted(input_api, output_api):
   """Make sure any .gn files we're changing have been formatted."""
   files = []
-  for f in input_api.AffectedFiles():
+  for f in input_api.AffectedFiles(include_deletes=False):
     if (f.LocalPath().endswith('.gn') or
         f.LocalPath().endswith('.gni')):
       files.append(f)