#34140: Format python code blocks in documentation files
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Joseph V
Type: | Zammit
Cleanup/optimization | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
format,black,snippet,example |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"45fae65672e7a1133c378416cfeb4c9af285ab88" 45fae656]:
{{{#!CommitTicketReference repository=""
revision="45fae65672e7a1133c378416cfeb4c9af285ab88"
[5.0.x] Refs #34140 -- Fixed blacken-docs pre-commit configuration.
Missed in 6015bab80e28aef2669f6fac53423aa65f70cb08. 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.
Backport of d89a465e62ad876cc7f1332d1712700cb81f3995 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34140#comment:20>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d459b8f43-1e081b0a-8de6-45df-9a5b-5e84d447117e-000000%40eu-central-1.amazonses.com.