All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
7 Current style <current_style>
8 Future style <future_style>
10 *Black* is a PEP 8 compliant opinionated formatter with its own style.
12 While keeping the style unchanged throughout releases has always been a goal,
13 the *Black* code style isn't set in stone. It evolves to accommodate for new features
14 in the Python language and, occasionally, in response to user feedback.
19 The following policy applies for the *Black* code style, in non pre-release
22 - The same code, formatted with the same options, will produce the same
23 output for all releases in a given calendar year.
25 This means projects can safely use `black ~= 22.0` without worrying about
26 major formatting changes disrupting their project in 2022. We may still
27 fix bugs where *Black* crashes on some code, and make other improvements
28 that do not affect formatting.
30 - The first release in a new calendar year *may* contain formatting changes,
31 although these will be minimised as much as possible. This is to allow for
32 improved formatting enabled by newer Python language syntax as well as due
33 to improvements in the formatting logic.
35 - The ``--future`` flag is exempt from this policy. There are no guarantees
36 around the stability of the output with that flag passed into *Black*. This
37 flag is intended for allowing experimentation with the proposed changes to
38 the *Black* code style.
40 Documentation for both the current and future styles can be found:
42 - :doc:`current_style`