Skip to content

Commit

Permalink
Fixing more pep8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfreckleton committed Nov 24, 2015
1 parent 0548c9a commit 7a747af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ def check_path(filename):
"""execute pyflakes checker"""
return not bool(checkPath(filename))


def task_pyflakes():
"""generate task for each file to be checked"""
for filename in glob.glob('*.py'):
path = os.path.abspath(filename)
yield {
'name': path, # name required to identify tasks
'file_dep': [path], # file dependency
'actions': [(check_path, (filename,)) ],
'name': path, # name required to identify tasks
'file_dep': [path], # file dependency
'actions': [(check_path, (filename,))],
}

0 comments on commit 7a747af

Please sign in to comment.