From bc5feac02f6eb723fc3323db5e1d4d8fe1b5cca1 Mon Sep 17 00:00:00 2001 From: Will Roberts Date: Wed, 21 Jun 2017 14:01:09 +0200 Subject: [PATCH] don't run flake8 on node_modules --- {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py index 3e8ca15..a6679d6 100644 --- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py +++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py @@ -27,7 +27,7 @@ def test(): help='Fix imports using isort, before linting') def lint(fix_imports): """Lint and check code style with flake8 and isort.""" - skip = ['requirements'] + skip = ['node_modules', 'requirements'] root_files = glob('*.py') root_directories = [ name for name in next(os.walk('.'))[1] if not name.startswith('.')]