From aeb4815fb6ca93f69c3516753c7cdffbeba0d443 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sun, 1 Mar 2015 23:58:11 +0100 Subject: [PATCH] Update lint task and gitignore to exlude tmp/ --- .gitignore | 1 + tasks.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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