We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74fa240 + 54ee582 commit 8b90343Copy full SHA for 8b90343
scripts/filter_lint_by_diff.py
@@ -15,6 +15,9 @@
15
diff = unidiff.PatchSet(f)
16
for diff_file in diff:
17
filename = diff_file.target_file
18
+ # Skip files deleted in the tip (b side of the diff):
19
+ if filename == "/dev/null":
20
+ continue
21
assert filename.startswith("b/")
22
filename = os.path.join(repository_root, filename[2:])
23
added_lines.add((filename, 0))
0 commit comments