mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-01 12:25:45 +00: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:
parent
7d20277111
commit
22edee2353
5 changed files with 15 additions and 13 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue