github psf/black 26.3.1

5 hours ago

Stable style

  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using
    exact-length placeholders for short magics and aborting if a placeholder can no longer
    be unmasked safely (#5038)

Configuration

  • Always hash cache filename components derived from --python-cell-magics so custom
    magic names cannot affect cache paths (#5038)

Blackd

  • Disable browser-originated requests by default, add configurable origin allowlisting
    and request body limits, and bound executor submissions to improve backpressure
    (#5039)

Don't miss a new black release

NewReleases is sending notifications on new releases.