We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2547096 commit 844614dCopy full SHA for 844614d
.github/workflows/push.yml
@@ -65,9 +65,9 @@ jobs:
65
- name: Verify no lint disabled in the new code
66
run: |
67
NEW_CODE=$(git diff origin/main..$(git branch --show-current) | grep -e '^+')
68
- echo "New code: $NEW_CODE"
+ echo "Code diff:\n$NEW_CODE"
69
CHEAT=$(echo "${NEW_CODE}" | grep '# pylint: disable' | grep -v "CHEAT" | wc -c)
70
- echo "Cheat: $CHEAT"
+ echo "# cheats: $CHEAT"
71
if [ "${CHEAT}" -ne 0 ]; then
72
echo "Do not cheat the linter: ${CHEAT}"
73
exit 1
0 commit comments