#33476: Formatting Code with Black
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  Mariusz
         Type:                       |  Felisiak
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (Other)         |                  Version:  4.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton@…>):

 In [changeset:"fa948980341b43e76140ac78dcff30bf0bd65369" fa948980]:
 {{{
 #!CommitTicketReference repository=""
 revision="fa948980341b43e76140ac78dcff30bf0bd65369"
 Refs #33476 -- Used black's force-exclude instead of extend-exclude.

 When using `pre-commit run --all-files`, because the filename is passed
 explicitly, the file referred to in `extend-exclude` is not properly
 excluded. Use `force-exclude` instead to say we really mean it.

 See https://github.com/psf/black/issues/438.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33476#comment:24>
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/0107017f6ef2e041-7464ef27-92e5-431c-adc8-1db8ec2ae104-000000%40eu-central-1.amazonses.com.

Reply via email to