diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:31:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:36:16 +0400 |
commit | a15be343895d4f3481eb349b4d145ffbe1c10dce (patch) | |
tree | a49eb487e061df8e8378eeb3b2318c4d084babc2 /source/tests/pep8.py | |
parent | 16443b1ae0f79e853ce13f17a3513a12c5cd8883 (diff) |
Code cleanup: unused python vars & imports
Use frosted rather then pyflakes
Diffstat (limited to 'source/tests/pep8.py')
-rw-r--r-- | source/tests/pep8.py | 13 |
1 files changed, 7 insertions, 6 deletions
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: |