mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
Added ignores relating to https://github.com/PyCQA/isort/issues/2352.
Backport of d980d68609 from main.
27 lines
637 B
YAML
27 lines
637 B
YAML
repos:
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 25.1.0
|
|
hooks:
|
|
- id: black
|
|
exclude: \.py-tpl$
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
rev: 1.19.1
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies:
|
|
- black==25.1.0
|
|
files: 'docs/.*\.txt$'
|
|
args: ["--rst-literal-block"]
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 7.2.0
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: v9.24.0
|
|
hooks:
|
|
- id: eslint
|