Update lint task and gitignore to exlude tmp/

This commit is contained in:
Thomas Adamcik 2015-03-01 23:58:11 +01:00
parent ffeb78c2cb
commit aeb4815fb6
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ docs/_build/
mopidy.log*
nosetests.xml
xunit-*.xml
tmp/

View File

@ -28,7 +28,7 @@ def test(path=None, coverage=False, watch=False, warn=False):
def lint(watch=False, warn=False):
if watch:
return watcher(lint)
run('flake8 mopidy tests', warn=warn)
run('flake8 --exclude=tmp,.git,__pycache__', warn=warn)
@task