From a15be343895d4f3481eb349b4d145ffbe1c10dce Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 25 Apr 2014 05:31:20 +1000 Subject: Code cleanup: unused python vars & imports Use frosted rather then pyflakes --- source/tests/pep8.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'source/tests/pep8.py') diff --git a/source/tests/pep8.py b/source/tests/pep8.py index 235bca48104..cca49d54ac0 100644 --- a/source/tests/pep8.py +++ b/source/tests/pep8.py @@ -20,15 +20,16 @@ import os -# depends on pep8, pyflakes, pylint +# depends on pep8, frosted, pylint # for Ubuntu # -# sudo apt-get install pylint pyflakes +# sudo apt-get install pylint # # sudo apt-get install python-setuptools python-pip # sudo pip install pep8 +# sudo pip install frosted # -# in Debian install pylint pyflakes pep8 with apt-get/aptitude/etc +# in Debian install pylint pep8 with apt-get/aptitude/etc # # on *nix run # python source/tests/pep8.py > test_pep8.log 2>&1 @@ -118,10 +119,10 @@ def main(): os.system("pep8 --repeat --ignore=%s '%s'" % (",".join(ignore_tmp), f)) - # pyflakes - print("\n\n\n# running pyflakes...") + # frosted + print("\n\n\n# running frosted...") for f, pep8_type in files: - os.system("pyflakes '%s'" % f) + os.system("frosted '%s'" % f) print("\n\n\n# running pylint...") for f, pep8_type in files: -- cgit v1.2.3