[FIX] migrate-black.py: don't fail on binary files (#3266)

This commit is contained in:
Holger Brunn 2022-09-14 05:06:54 +02:00 committed by GitHub
parent 383b228a16
commit 72a25591b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ def blackify(base_branch: str, black_command: str, logger: logging.Logger) -> in
[
"git",
"diff",
"--binary",
"--find-copies",
"%s-black..%s-black" % (last_commit, commit),
],