Remove binary files from diff patch string
(patch: PatchSet)
| 14 | |
| 15 | |
| 16 | def remove_binaries(patch: PatchSet) -> PatchSet: |
| 17 | """Remove binary files from diff patch string""" |
| 18 | return PatchSet("\n".join([str(file) for file in patch if "Binary files" not in str(file)])) |
| 19 | |
| 20 | |
| 21 | def main(cc_folder: Path): |