Closed wiseodd closed 3 months ago
Since we added isort
to the ruff configs, it should be sufficient to run ruff check --fix .
and ruff format .
.
Just added a makefile that bundles the two ruff commands into one (make ruff
) in #197.
That's true! Note to self: for conform.nvim
this translates to:
formatters_by_ft = {
python = {
- 'isort',
+ 'ruff_fix',
'ruff_format'
},
}
Esp.:
isort --profile black .
ruff format
ruff check .