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


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

[Python-announce] RELEASED: blue 0.9.0

Started byBarry Warsaw <barry@python.org>
First post2022-05-02 17:53 -0600
Last post2022-05-02 17:53 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

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

#3796 — [Python-announce] RELEASED: blue 0.9.0

FromBarry Warsaw <barry@python.org>
Date2022-05-02 17:53 -0600
Subject[Python-announce] RELEASED: blue 0.9.0
Message-ID<3952F950-D01E-44A7-83DF-6EEA8F7A7867@python.org>

[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)

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web