mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 12:17:37 +03:00
21 lines
437 B
YAML
21 lines
437 B
YAML
exclude: 'docs|node_modules|migrations|.git|.tox'
|
|
default_stages: [commit]
|
|
fail_fast: true
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: master
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
files: (^|/).+\.(py|html|sh|css|js)$
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: flake8
|
|
name: flake8
|
|
entry: flake8
|
|
language: python
|
|
types: [python]
|
|
args: ['--config=setup.cfg']
|
|
|