sqlmap/extra/shutils/pyflakes.sh
2023-01-02 23:24:59 +01:00

8 lines
320 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2006-2023 sqlmap developers (https://sqlmap.org/)
# See the file 'LICENSE' for copying permission
# Runs pyflakes on all python files (prerequisite: apt-get install pyflakes)
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes3 '{}' \; | grep -v "redefines '_'"