sqlmap/extra/shutils/pyflakes.sh

8 lines
320 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2022-01-03 13:30:34 +03:00
# Copyright (c) 2006-2022 sqlmap developers (https://sqlmap.org/)
2017-10-11 15:50:46 +03:00
# See the file 'LICENSE' for copying permission
2012-12-13 19:07:49 +04:00
# Runs pyflakes on all python files (prerequisite: apt-get install pyflakes)
2019-12-09 13:35:22 +03:00
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes3 '{}' \; | grep -v "redefines '_'"