Skip to content

Commit

Permalink
set to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ssolson committed Feb 20, 2024
1 parent f5185e1 commit 3c6f892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
score=$(echo "$pylint_output" | grep "Your code has been rated at" | awk '{print $7}' | sed 's/\/10//' || echo "0")
echo "Pylint score: $score"
# Define the minimum acceptable score
min_score=8.0
min_score=7.0
# Check if score is a number, exit with code 1 (failure) if not
python -c "import sys; score='$score'; sys.exit(0 if score.replace('.', '', 1).isdigit() else 1)"
# Compare the score with the minimum acceptable score, exit with code 1 if below threshold
Expand Down

0 comments on commit 3c6f892

Please sign in to comment.