mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-17 06:11:07 +00:00
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).
14 lines
375 B
YAML
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)/
|