
black 26.1.0
0
The uncompromising code formatter.
Contents
The uncompromising code formatter.
Stars: 41379, Watchers: 41379, Forks: 2720, Open Issues: 330The psf/black repo was created 7 years ago and the last code push was 2 days ago.
The project is extremely popular with a mindblowing 41379 github stars!
How to Install black
You can install black using pip
pip install black
or add it to a project with poetry
poetry add black
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/black/
- Documentation:
- https://black.readthedocs.io/
- GitHub Repo:
- https://github.com/psf/black
Classifiers
- Software Development/Libraries/Python Modules
- Software Development/Quality Assurance
Related Packages
Errors
A list of common black errors.
Code Examples
Here are some black code examples and snippets.
GitHub Issues
The black package has 330 open issues on GitHub
- docs: Add comprehensive Jupyter Notebooks documentation
- Docs: Better documentation for Jupyter usage
nbqa blackreports notebooks need reformat even after running- Bump docutils from 0.21.2 to 0.22.4
- Bump hatch from 1.15.1 to 1.16.2
- Fix parsing error for backslash continuations with no indentation
- Cannot parse multi-line code split using backslash
- Parenthesize complex expressions passed as keyword arguments or parameter defaults
- Added documentation for doctest formatting tools
- Improve fmt:skip handling in nested expressions with checks
- Fix #4653 If guard explosion in case statement
- Thinking about
wrap_long_dict_values_in_parens - wrap_comprehension_in: Always wrap if there's delimiters
- wrap_comprehension_in: Black preview style removes parentheses that make code harder to read
- Improve syntax error reporting for a better user experience
pythonfix