1
0
mirror of https://github.com/django/django.git synced 2024-12-26 19:16:11 +00:00
django/.pre-commit-config.yaml
Mariusz Felisiak 8db9a0b5a0 [4.2.x] Fixed warnings per flake8 6.1.0.
Backport of 22b0b73c77 from main
2023-07-30 16:18:48 +02:00

25 lines
551 B
YAML

repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
exclude: \.py-tpl$
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==23.3.0
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.36.0
hooks:
- id: eslint