Skip to content

Commit

Permalink
[FIX] migrate-black.py: don't fail on binary files (#3266)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn authored Sep 14, 2022
1 parent 383b228 commit 72a2559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/migrate-black.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
],
Expand Down

0 comments on commit 72a2559

Please sign in to comment.