[FIX] migrate-black.py: don't fail on binary files (#3266)
This commit is contained in:
parent
383b228a16
commit
72a25591b0
@ -49,6 +49,7 @@ def blackify(base_branch: str, black_command: str, logger: logging.Logger) -> in
|
|||||||
[
|
[
|
||||||
"git",
|
"git",
|
||||||
"diff",
|
"diff",
|
||||||
|
"--binary",
|
||||||
"--find-copies",
|
"--find-copies",
|
||||||
"%s-black..%s-black" % (last_commit, commit),
|
"%s-black..%s-black" % (last_commit, commit),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user