# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-black VERSION= 24.4.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Uncompromising code formatter (3.11) SDESC[v12]= Uncompromising code formatter (3.12) HOMEPAGE= https://github.com/psf/black CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/6c/4c/3e898e42fb0e14f2639583b10702b69d145c42bdd97e017950479055dd4a DISTFILE[1]= black-24.4.0-py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON DISTNAME= black-24.4.0.dist-info GENERATED= yes [PY311].RUN_DEPENDS_ON= python-click:single:v11 python-mypy-extensions:single:v11 python-packaging:single:v11 python-pathspec:single:v11 python-platformdirs:single:v11 [PY311].USES_ON= python:v11,wheel [PY312].RUN_DEPENDS_ON= python-click:single:v12 python-mypy-extensions:single:v12 python-packaging:single:v12 python-pathspec:single:v12 python-platformdirs:single:v12 [PY312].USES_ON= python:v12,wheel [FILE:2515:descriptions/desc.single] [Black Logo]

The Uncompromising Code Formatter

[image] [image] [image] [image] [image] [image] [image] [image]

> “Any color you like.” _Black_ is the uncompromising Python code formatter. By using it, 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 and mental energy for more important matters. Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead. _Black_ makes code review faster by producing the smallest diffs possible. Try it out now using the [Black Playground]. Watch the [PyCon 2019 talk] to learn more. --- **[Read the documentation on ReadTheDocs!]** --- ## Installation and usage ### Installation _Black_ can be installed by running `pip install black`. It requires Python 3.8+ to run. If you want to format Jupyter Notebooks, install with `pip install "black[jupyter]"`. If you can't wait for the latest _hotness_ and want to install from GitHub, use: `pip install git+https://github.com/psf/black` ### Usage To get started right away with sensible defaults: ```sh black {source_file_or_directory} ``` You can run _Black_ as a package if running it as a script doesn't work: ```sh python -m black {source_file_or_directory} ``` Further information can be found in our docs: - [Usage and Configuration] _Black_ is already [successfully used] by many projects, small and big. _Black_ has a comprehensive test suite, with efficient parallel tests, and our own auto formatting and parallel Continuous Integration runner. Now that we have become stable, you should not expect large formatting changes in the future. Stylistic changes will mostly be responses to bug reports and support for new Python syntax. For more information please refer to [The Black Code Style]. 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 original (see the [Pragmatism] section for details). If you're feeling confident, use `--fast`. ## The _Black_ code style _Black_ is a PEP 8 compliant opinionated formatter. _Black_ reformats entire files in place. Style configuration options are deliberately limited and rarely added. It doesn't take previous formatting into account (see [Pragmatism] [FILE:108:distinfo] 74eb9b5420e26b42c00a3ff470dc0cd144b80a766128b1771d07643165e08d0e 201736 black-24.4.0-py3-none-any.whl