django-rest-framework/.pre-commit-config.yaml

28 lines
613 B
YAML
Raw Normal View History

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-01-25 00:47:46 +03:00
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- repo: https://github.com/pycqa/isort
2024-01-25 00:47:46 +03:00
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
2024-01-25 00:47:46 +03:00
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-tidy-imports
- repo: https://github.com/adamchainz/blacken-docs
2024-01-25 00:47:46 +03:00
rev: 1.16.0
hooks:
- id: blacken-docs
exclude: ^(?!docs).*$
additional_dependencies:
- black==23.1.0