diff --git a/.gitignore b/.gitignore index 0edb30e0..990d75ca 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ docs/_build/ mopidy.log* nosetests.xml xunit-*.xml +tmp/ diff --git a/tasks.py b/tasks.py index 977a4b9e..03249481 100644 --- a/tasks.py +++ b/tasks.py @@ -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