Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Python-announce] RELEASED: blue 0.9.0

4 views
Skip to first unread message

Barry Warsaw

unread,
May 2, 2022, 8:13:07 PM5/2/22
to
We’re happy to announce version 0.9.0 of blue, the somewhat less uncompromising code formatter than black. blue changes a few defaults, such as preferring single quotes instead of double quotes. Here is a brief list of differences from black:

* blue defaults to single-quoted strings for everything except docstrings and triple quoted strings.
* blue defaults to line lengths of 79 characters.
* blue preserves the whitespace before the hash mark for right hanging comments.
* blue supports multiple config files: pyproject.toml, setup.cfg, tox.ini, and .blue.

Changes since 0.8.0:

* Fix test suite failures due to a confluence of problems (GH#74)
* Upgrade dependency on Black to 22.1.0 to support Python 3.10 (GH#67)
* Add link to demo site at https://iblueit.dev (GH#69)

Notice that last bullet item - you can play with blue online!

For details see https://blue.readthedocs.io/en/latest/

Enjoy!
-Barry (on behalf of the blue developers)

signature.asc
0 new messages