Skip to content

Python scraper based on AI

fixed score function

VinciGit007629c6059557
diff --git a/.github/workflows/evaluate_pylint_score.py b/.github/workflows/evaluate_pylint_score.py
index 839c7cc6..c3e6299f 100644
--- a/.github/workflows/evaluate_pylint_score.py
+++ b/.github/workflows/evaluate_pylint_score.py
@@ -11,7 +11,7 @@ def evaluate_pylint_score():
score_match = re.search(r'(\d+\.\d+)', score_line)
if score_match:
score = float(score_match.group(1))
- print(f"The score is{score}")
+ print(f"The score is {score}")
if score >= 6:
print("Pylint score is acceptable. Proceeding with the push.")
sys.exit(0)
diff --git a/commit_and_push.sh b/commit_and_push.sh
index 1e85dd95..235d4a42 100755
--- a/commit_and_push.sh
+++ b/commit_and_push.sh
@@ -6,7 +6,8 @@
# and pushes the changes to the remote repository.
# Usage: ./commit_and_push.sh <commit_message>
-# <commit_message>: The message to be used for the Git commit.
+# <commit_message>: The message to be used for the Git commit.
+# The commit message should be under ""
# If it is the first time you have to do chmod +x commit_and_push.sh
# Check if an argument is provided