black and ruff are fighting with each other #2597
Labels
complexity/single-task
Regular task, should be done within days.
kind/internal
Doesn't affect users directly, may be e.g. infrastructure, DB related.
black has a default line length limit of 88 characters, but in case it's not possible to achieve it, it seems to give up and try to minimize the number of lines such chunk of code spans over. But ruff with its line length limit set to 100 doesn't accept that and formats the chunk so it fits, or at least complains about line being too long.
Here is the code:
black variant:
ruff variant:
See also here: #2596
The text was updated successfully, but these errors were encountered: