another slight change to almost picable string

This commit is contained in:
Enzo Nunes
2025-02-26 10:44:19 +00:00
parent 98ce4635ab
commit 517d3085bb

View File

@@ -134,7 +134,7 @@ def PICable(owner, repository, token):
elif stars >= LIMIT_STARS and commits_30_days >= LIMIT_COMMITS_30_DAYS and lines_of_code >= LIMIT_NLOC: elif stars >= LIMIT_STARS and commits_30_days >= LIMIT_COMMITS_30_DAYS and lines_of_code >= LIMIT_NLOC:
picable_report += f"The repository {repository_url} is PICable. :white_check_mark:\n" picable_report += f"The repository {repository_url} is PICable. :white_check_mark:\n"
else: else:
picable_report += f"The repository {repository_url} is almost PICable. :warning:\nThere is at least one parameter which is below the requirement, but by less than {margin_percentage}%. Consult with a professor before proceeding.\n" picable_report += f"The repository {repository_url} is almost PICable. :warning:\nThere is at least one parameter which is below the requirement, but by less than {margin_percentage}%.\nConsult with a professor before proceeding.\n"
print("Analysis complete.") print("Analysis complete.")
return picable_report return picable_report