We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f080c9 commit 37c6b38Copy full SHA for 37c6b38
completion.py
@@ -50,7 +50,7 @@ def get_completion(
50
if completion:
51
# Fetch commit from before 30 days ago and checkout
52
repo = git.Repo(clone_path)
53
- commit = next(repo.iter_commits('HEAD', max_count=1, before="30 days ago"))
+ commit = next(repo.iter_commits('HEAD', max_count=1, before='30 days ago'))
54
repo.git.checkout(commit.hexsha)
55
with TemporaryDirectory() as tmpdir:
56
month_ago_completion = potodo.merge_and_scan_path(
@@ -61,7 +61,6 @@ def get_completion(
61
api_url='',
62
).completion
63
else:
64
- print(f'{repo} is empty')
65
month_ago_completion = 0.0
66
67
change = completion - month_ago_completion
0 commit comments