mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-25 00:33:37 +05:00
fix(git_utils): correct indentation for improved readability in get_local_tags function
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
@@ -133,7 +133,7 @@ def get_local_tags(repo_path: Path, _filter: str | None = None) -> List[str]:
|
||||
tags: List[str] = result.split("\n")[:-1]
|
||||
|
||||
return sorted(tags, key=lambda x: [int(i) if i.isdigit() else i for i in
|
||||
re.split(r'(\d+)', x)])
|
||||
re.split(r'(\d+)', x)])
|
||||
|
||||
except CalledProcessError:
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user