Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jan 25, 2024
1 parent 7c62957 commit 0290fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoreviewer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def check_black(directory: str | Path) -> bool:
parts = ["black", "--check", "--quiet", directory.as_posix()]
try:
subprocess.check_call(parts, stderr=subprocess.DEVNULL)
except subprocess.CalledProcessError as e:
except subprocess.CalledProcessError:
return False
else:
return True
Expand Down

0 comments on commit 0290fbc

Please sign in to comment.