#34085: Black shouldn't format non-Python files
-------------------------------------+-------------------------------------
Reporter: Jeff Triplett | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 4.1
commands) |
Severity: Normal | Resolution: needsinfo
Keywords: startproject black | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jeff Triplett):
Adding my repo in case it's useful: https://github.com/jefftriplett
/django-startproject#wrench-install
The repo isn't doing anything fancy but it does have a `requirements.in`
file that is repeatable.
{{{
$ django-admin startproject \
--extension=ini,py,yml \
--template=https://github.com/jefftriplett/django-
startproject/archive/main.zip \
example_project
}}}
*grumble* Please reconsider making assumptions about code formatting based
on what people have installed globally. We have pre-commit and other tools
which solve this issue explicitly and have a bit more granularly than
"just run Black" by default.
--
Ticket URL: <https://code.djangoproject.com/ticket/34085#comment:3>
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/01070183c83f7188-435e6d72-9446-4cfc-a5a7-39237a80e290-000000%40eu-central-1.amazonses.com.