mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
New pep8 script
This commit is contained in:
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 '{}' \;
|
||||||
|
|||||||
Reference in New Issue
Block a user