Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3796

[Python-announce] RELEASED: blue 0.9.0

From Barry Warsaw <barry@python.org>
Newsgroups comp.lang.python.announce
Subject [Python-announce] RELEASED: blue 0.9.0
Date 2022-05-02 17:53 -0600
Message-ID <3952F950-D01E-44A7-83DF-6EEA8F7A7867@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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)

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[Python-announce] RELEASED: blue 0.9.0 Barry Warsaw <barry@python.org> - 2022-05-02 17:53 -0600

csiph-web