The uncompromising code formatter
=================================
+ “Any color you like.”
+
By using *Black*, you agree to cede control over minutiae of
hand-formatting. In return, *Black* gives you speed, determinism, and
freedom from `pycodestyle` nagging about formatting. You will save time
Try it out now using the `Black Playground <https://black.vercel.app>`_.
-.. admonition:: Note - this is a beta product
+.. admonition:: Note - Black is now stable!
- *Black* is already `successfully used <https://github.com/psf/black#used-by>`_ by
+ *Black* is `successfully used <https://github.com/psf/black#used-by>`_ by
many projects, small and big. *Black* has a comprehensive test suite, with efficient
- parallel tests, our own auto formatting and parallel Continuous Integration runner.
- However, *Black* is still beta. Things will probably be wonky for a while. This is
- made explicit by the "Beta" trove classifier, as well as by the "b" in the version
- number. What this means for you is that **until the formatter becomes stable, you
- should expect some formatting to change in the future**. That being said, no drastic
- stylistic changes are planned, mostly responses to bug reports.
+ parallel tests, our own auto formatting and parallel Continuous Integration runner.
+ Now that we have become stable, you should not expect large formatting to changes in
+ the future. Stylistic changes will mostly be responses to bug reports and support for new Python
+ syntax.
Also, as a safety measure which slows down processing, *Black* will check that the
reformatted code still produces a valid AST that is effectively equivalent to the
.. toctree::
:maxdepth: 3
:includehidden:
+ :caption: User Guide
getting_started
usage_and_configuration/index
faq
.. toctree::
- :maxdepth: 3
+ :maxdepth: 2
:includehidden:
+ :caption: Development
contributing/index
change_log
.. toctree::
:hidden:
+ :caption: Project Links
- GitHub ↪ <https://github.com/psf/black>
- PyPI ↪ <https://pypi.org/project/black>
- Chat ↪ <https://discord.gg/RtVdv86PrH>
+ GitHub <https://github.com/psf/black>
+ PyPI <https://pypi.org/project/black>
+ Chat <https://discord.gg/RtVdv86PrH>
Indices and tables
==================