Skip to content

Commit 37c6b38

Browse files
Apply more suggestions :-)
1 parent 6f080c9 commit 37c6b38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

completion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_completion(
5050
if completion:
5151
# Fetch commit from before 30 days ago and checkout
5252
repo = git.Repo(clone_path)
53-
commit = next(repo.iter_commits('HEAD', max_count=1, before="30 days ago"))
53+
commit = next(repo.iter_commits('HEAD', max_count=1, before='30 days ago'))
5454
repo.git.checkout(commit.hexsha)
5555
with TemporaryDirectory() as tmpdir:
5656
month_ago_completion = potodo.merge_and_scan_path(
@@ -61,7 +61,6 @@ def get_completion(
6161
api_url='',
6262
).completion
6363
else:
64-
print(f'{repo} is empty')
6564
month_ago_completion = 0.0
6665

6766
change = completion - month_ago_completion

0 commit comments

Comments
 (0)