We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b6a91 commit ddef6b3Copy full SHA for ddef6b3
.github/workflows/pylint.yml
@@ -28,10 +28,11 @@ jobs:
28
set -x
29
pip install pylint
30
pip install --upgrade -e .
31
- pylint --exit-zero --errors-only pwnlib -f parseable | cut -d ' ' -f2- > current.txt
+ run_pylint() { pylint --exit-zero --errors-only pwnlib -f parseable | cut -d ' ' -f2- | sed 's/line [0-9]\+/line XXXX/g'; }
32
+ run_pylint > current.txt
33
git fetch origin
34
git checkout origin/"$GITHUB_BASE_REF"
- pylint --exit-zero --errors-only pwnlib -f parseable | cut -d ' ' -f2- > base.txt
35
+ run_pylint > base.txt
36
if diff base.txt current.txt | grep '>'; then
37
false
38
fi
0 commit comments