Permalink
Browse files

check.py: pep8 clean-up ;)

  • Loading branch information...
jtriley committed Jul 17, 2012
1 parent 30a44a9 commit d67ff7722dec5c6b2cf128d072c159606311f34e
Showing with 0 additions and 19 deletions.
  1. +0 −19 check.py
View
@@ -10,20 +10,6 @@
from pyflakes import checker
-CHECKS = [
- #{
- #'start_msg': 'Running Pyflakes...',
- #'command': 'pyflakes %s',
- #'match_files': ['.*\.py$'],
- #},
- #{
- #'start_msg': 'Running pep8...',
- #'command': 'pep8 -r %s',
- #'match_files': ['.*\.py$'],
- #},
-]
-
-
def check(codeString, filename):
"""
Check the Python source given by C{codeString} for flakes.
@@ -119,11 +105,6 @@ def check_files(files, check):
raise Exception("ERROR: checks failed on some source files")
-def check_commands(files):
- for check in CHECKS:
- check_files(files, check)
-
-
def find_py_files(path):
for cfile in glob.glob(os.path.join(path, '*')):
if os.path.isdir(cfile):

0 comments on commit d67ff77

Please sign in to comment.