From 93de71623f11c931d549a0d3bf7a45dc0157416a Mon Sep 17 00:00:00 2001 From: Enzo Nunes Date: Sun, 23 Feb 2025 22:53:58 +0000 Subject: [PATCH] add small info detail to not picable string --- PICable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PICable.py b/PICable.py index 16184f7..03ee74c 100644 --- a/PICable.py +++ b/PICable.py @@ -72,7 +72,7 @@ def PICable(owner, repository, token): elif stars >= LIMIT_STARS * (1 - MARGIN): res += f"The repository has {stars}, which is close to the limit of {LIMIT_STARS} stars, considering a {margin_percentage}% margin. :warning:\n" else: - res += f"The repository has {stars} stars, which is way below the limit of {LIMIT_STARS} stars, considering a {margin_percentage}% margin. :x:\n" + res += f"The repository has {stars} stars, which is way below the limit of {LIMIT_STARS} stars, even if considering a {margin_percentage}% margin. :x:\n" commits_30_days = get_commits_last_30_days(owner, repository, token) @@ -84,7 +84,7 @@ def PICable(owner, repository, token): elif commits_30_days >= LIMIT_COMMITS_30_DAYS * (1 - MARGIN): res += f"The repository has {commits_30_days} commits in the last 30 days, which is close to the limit of {LIMIT_COMMITS_30_DAYS} commits, considering a {margin_percentage}% margin. :warning:\n" else: - res += f"The repository has {commits_30_days} commits in the last 30 days, which is way below the limit of {LIMIT_COMMITS_30_DAYS} commits, considering a {margin_percentage}% margin. :x:\n" + res += f"The repository has {commits_30_days} commits in the last 30 days, which is way below the limit of {LIMIT_COMMITS_30_DAYS} commits, even if considering a {margin_percentage}% margin. :x:\n" nloc = get_lines_of_code(owner, repository) @@ -96,7 +96,7 @@ def PICable(owner, repository, token): elif nloc >= LIMIT_NLOC * (1 - MARGIN): res += f"The repository has {nloc} lines of code, which is close to the limit of {LIMIT_NLOC} lines of code, considering a {margin_percentage}% margin. :warning:\n" else: - res += f"The repository has {nloc} lines of code, which is way below the limit of {LIMIT_NLOC} lines of code, considering a {margin_percentage}% margin. :x:\n" + res += f"The repository has {nloc} lines of code, which is way below the limit of {LIMIT_NLOC} lines of code, even if considering a {margin_percentage}% margin. :x:\n" res += "\n"