mirror of https://github.com/django/django.git
Refs #34140 -- Fixed blacken-docs pre-commit configuration.
Missed in 6015bab80e
. The default
blacken-docs hook definition does not apply to .txt files, which the
Django documentation uses. This commit overrides that definition to
point blacken-docs at the appropriate files.
This commit is contained in:
parent
c65f49d3cb
commit
d89a465e62
|
@ -10,6 +10,7 @@ repos:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- black==23.10.0
|
- black==23.10.0
|
||||||
|
files: 'docs/.*\.txt$'
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.12.0
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in New Issue