don't run flake8 on node_modules

master
Will Roberts 8 years ago
parent 750c936892
commit bc5feac02f
  1. 2
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/commands.py

@ -27,7 +27,7 @@ def test():
help='Fix imports using isort, before linting') help='Fix imports using isort, before linting')
def lint(fix_imports): def lint(fix_imports):
"""Lint and check code style with flake8 and isort.""" """Lint and check code style with flake8 and isort."""
skip = ['requirements'] skip = ['node_modules', 'requirements']
root_files = glob('*.py') root_files = glob('*.py')
root_directories = [ root_directories = [
name for name in next(os.walk('.'))[1] if not name.startswith('.')] name for name in next(os.walk('.'))[1] if not name.startswith('.')]

Loading…
Cancel
Save