Skip to content

Commit 8203f11

Browse files
committed
Fix: Use correct API of ReportProgress
1 parent 9e7b8d2 commit 8203f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autohooks/plugins/black/black.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def precommit(
100100
subprocess.check_call(args)
101101
ok(f"Running black on {str(f.path)}")
102102
if report_progress:
103-
report_progress.progress()
103+
report_progress.update()
104104
except subprocess.CalledProcessError as e:
105105
error(f"Running black on {str(f.path)}")
106106
raise e from None

0 commit comments

Comments
 (0)