Closed DimitriPapadopoulos closed 6 months ago
To see how it formats Python source code, run:
ruff format .
I'm -1 to change the current source code and alter Git history for 65 files and ~10k lines of code. Also I don't have a problem with currently-used single quotes or mixed indentation when it helps readability.
Single quotes won't change:
I haven't investigated indentation.
While git blame --ignore-revs-file
is not perfect, it helps ignore changes related to formatting.
Let me run ruff format
and try to minimize changes, so we can see the extent of changes.
indent-style
is either tab
or space
.
Good that ruff supports mixed quotes :+1: I see all the changes in https://github.com/adrienverge/yamllint/pull/638, and I still don't think it helps readability, especially about the mixed indentations I mentioned. And changing all these 63 files is not appealing...
The Ruff Formatter