3 ms·
Line length is definitely configurable. All it takes is adding the following on pyproject.toml[1]: [tool.black] line-length = 100 Aside from matrix-like o
by pushfoo 2y ago
Line length is definitely configurable. All it takes is adding the following on pyproject.toml[1]:
[tool.black]
line-length = 100
Aside from matrix-like or column aligned data, the only truly awful thing I've encountered has been broken f-string handling[2].
[1]: Example from https://github.com/pythonarcade/arcade/blob/808e1dafcf1da30f52e1daea858c32cad92e97d5/pyproject.toml#L177-L188 https://github.com/pythonarcade/arcade/blob/808e1dafcf1da30f...
[2]: https://github.com/psf/black/issues/4389 https://github.com/psf/black/issues/4389