New pep8 script

This commit is contained in:
Miroslav Stampar 2012-12-13 16:07:49 +01:00
parent c040323821
commit 46885d4c28
2 changed files with 8 additions and 1 deletions

7
extra/shutils/pep8.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
# See the file 'doc/COPYING' for copying permission
# Runs pep8 on all python files (prerequisite: apt-get install pep8)
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pep8 '{}' \;

View File

@ -3,5 +3,5 @@
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
# See the file 'doc/COPYING' for copying permission
# Runs pyflakes on all python files
# Runs pyflakes on all python files (prerequisite: apt-get install pyflakes)
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes '{}' \;