Adding pyflakes into CI/CD pipeline

This commit is contained in:
Miroslav Štampar 2026-06-28 10:12:51 +02:00
parent 9daeab2d5a
commit c7a9185bcf
3 changed files with 9 additions and 2 deletions

View file

@ -37,6 +37,13 @@ jobs:
- name: Python sanity
run: python -VV
- name: Pyflakes lint
run: |
python -m pip install pyflakes
OUT=$(python -m pyflakes $(git ls-files '*.py' | grep -v '^thirdparty/'))
if [ -n "$OUT" ]; then echo "$OUT"; exit 1; fi
echo "pyflakes: clean"
- name: Basic import test
run: python -c "import sqlmap; import sqlmapapi"