Update lint task and gitignore to exlude tmp/
This commit is contained in:
parent
ffeb78c2cb
commit
aeb4815fb6
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ docs/_build/
|
|||||||
mopidy.log*
|
mopidy.log*
|
||||||
nosetests.xml
|
nosetests.xml
|
||||||
xunit-*.xml
|
xunit-*.xml
|
||||||
|
tmp/
|
||||||
|
|||||||
2
tasks.py
2
tasks.py
@ -28,7 +28,7 @@ def test(path=None, coverage=False, watch=False, warn=False):
|
|||||||
def lint(watch=False, warn=False):
|
def lint(watch=False, warn=False):
|
||||||
if watch:
|
if watch:
|
||||||
return watcher(lint)
|
return watcher(lint)
|
||||||
run('flake8 mopidy tests', warn=warn)
|
run('flake8 --exclude=tmp,.git,__pycache__', warn=warn)
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user