django-model-utils/.pre-commit-config.yaml
Adam Johnson fc5f8adef2 Fix name of pre-commit file
Without this, it is failing with:

```
An error has occurred: InvalidConfigError:
=====> .pre-commit-config.yaml is not a file
```

... locally, and [on pre-commit.ci](https://results.pre-commit.ci/run/github/367233/1638617692.MJfSfSpAStKRpS_gf4Wieg).
2021-12-07 16:28:58 +01:00

14 lines
375 B
YAML

repos:
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
hooks:
- id: isort
args: ['--profile', 'black', '--check-only', '--diff']
files: ^((model_utils|tests)/)|setup.py
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
args: ['--ignore=E402,E501,E731,W503']
files: ^(model_utils|tests)/