django-model-utils/.pre-commit-config.yaml

21 lines
503 B
YAML
Raw Normal View History

2021-10-29 21:20:36 +00:00
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
2021-10-29 21:20:36 +00:00
hooks:
- id: isort
args: ['--profile', 'black', '--check-only', '--diff']
files: ^((model_utils|tests)/)|setup.py
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
2021-10-29 21:20:36 +00:00
hooks:
- id: flake8
args: ['--ignore=E402,E501,E731,W503']
files: ^(model_utils|tests)/
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
2023-06-15 17:39:29 +00:00
args: [--py38-plus]