Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46885d4

Browse files
committed
New pep8 script
1 parent c040323 commit 46885d4

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

extra/shutils/pep8.sh

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

extra/shutils/pyflakes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Copyright (c) 2006-2012 sqlmap developers (http://www.sqlmap.org/)
44
# See the file 'doc/COPYING' for copying permission
55

6-
# Runs pyflakes on all python files
6+
# Runs pyflakes on all python files (prerequisite: apt-get install pyflakes)
77
find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes '{}' \;

0 commit comments

Comments
 (0)