mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
New pep8 script
This commit is contained in:
parent
c040323821
commit
46885d4c28
7
extra/shutils/pep8.sh
Executable file
7
extra/shutils/pep8.sh
Executable 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 '{}' \;
|
|
@ -3,5 +3,5 @@
|
||||||
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
|
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
|
||||||
# See the file 'doc/COPYING' for copying permission
|
# 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 '{}' \;
|
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes '{}' \;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user