Skip to content

Commit 9ef163e

Browse files
committed
reformat
1 parent 3b7012d commit 9ef163e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

completion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ def branches_from_devguide(devguide_dir: Path) -> list[str]:
2222

2323
def get_completion(clones_dir: str, repo: str) -> tuple[float, 'TranslatorsData', str]:
2424
clone_path = Path(clones_dir, repo)
25-
for branch in branches_from_devguide(Path(clones_dir, 'devguide')) + ['master', 'main']:
25+
for branch in branches_from_devguide(Path(clones_dir, 'devguide')) + [
26+
'master',
27+
'main',
28+
]:
2629
try:
2730
git.Repo.clone_from(
2831
f'https://github.com/{repo}.git', clone_path, branch=branch

0 commit comments

Comments
 (0)