Skip to content

Commit

Permalink
Fix: Use correct API of ReportProgress
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks committed Aug 9, 2022
1 parent 9e7b8d2 commit 8203f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autohooks/plugins/black/black.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def precommit(
subprocess.check_call(args)
ok(f"Running black on {str(f.path)}")
if report_progress:
report_progress.progress()
report_progress.update()
except subprocess.CalledProcessError as e:
error(f"Running black on {str(f.path)}")
raise e from None
Expand Down

0 comments on commit 8203f11

Please sign in to comment.