Skip to content

Commit

Permalink
Change style referencing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Nov 22, 2024
1 parent 279018b commit 08644d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
run: |
NEW_CODE=$(git diff origin/main..$(git branch --show-current) | grep -e '^+')
echo "Code diff:"
echo $NEW_CODE
echo "${NEW_CODE}"
CHEAT=$(echo "${NEW_CODE}" | grep '# pylint: disable' | grep -v "CHEAT" | wc -c)
echo "# cheats: $CHEAT"
echo "# cheats: ${CHEAT}"
if [ "${CHEAT}" -ne 0 ]; then
echo "Do not cheat the linter: ${CHEAT}"
exit 1
Expand Down

0 comments on commit 08644d4

Please sign in to comment.