mirror of
https://github.com/astral-sh/ruff
synced 2026-01-06 22:24:05 -05:00
Update pre-commit dependencies (#15433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -104,9 +104,9 @@ class Repository(NamedTuple):
|
||||
stdout=PIPE,
|
||||
)
|
||||
git_sha_stdout, _ = await git_sha_process.communicate()
|
||||
assert (
|
||||
await git_sha_process.wait() == 0
|
||||
), f"Failed to retrieve commit sha at {checkout_dir}"
|
||||
assert await git_sha_process.wait() == 0, (
|
||||
f"Failed to retrieve commit sha at {checkout_dir}"
|
||||
)
|
||||
return git_sha_stdout.decode().strip()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user