Skip to content

Commit

Permalink
pavement: Adds the -E|--noerror option to flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Apr 21, 2011
1 parent 057e1f7 commit 09a6a11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def verifyconfigref(options):


@task
@cmdopts([
("noerror", "E", "Ignore errors"),
])
def flake8(options):
noerror = getattr(options, "noerror", False)
complexity = getattr(options, "complexity", 22)
Expand Down

0 comments on commit 09a6a11

Please sign in to comment.