diff --git a/setup.cfg b/setup.cfg index 834ca945..95211279 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [flake8] application-import-names = mopidy,tests -exclude = .git,.tox,build,js +exclude = .git,.tox,build,js,tmp # Ignored flake8 warnings: # - E402 module level import not at top of file ignore = E402 diff --git a/tasks.py b/tasks.py index 03249481..7b5692e3 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 --exclude=tmp,.git,__pycache__', warn=warn) + run('flake8', warn=warn) @task