[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-22 05:51:14 +00:00
commit 403f72d1a6

View file

@ -501,9 +501,7 @@ def _shell_alias_definitions(command: str) -> dict[str, str]:
return aliases
def _segment_with_alias_expansion(
segment: list[str], aliases: dict[str, str]
) -> list[str] | None:
def _segment_with_alias_expansion(segment: list[str], aliases: dict[str, str]) -> list[str] | None:
if not aliases:
return None
cmd_index = 0