-
Moin,
e.g. [tool.ruff]
line-length = 80 Now if I execute Does anyone have an Idea where I would need to start for such a configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Same concern here. Worse, I prefer tabs than spaces... (put the guns down, please :) ) That said, I'm not completely sure if it's Mason's duties. |
Beta Was this translation helpful? Give feedback.
-
I had to use this for the return {
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
python = { "ruff_fix", "ruff_format" },
},
},
},
} |
Beta Was this translation helpful? Give feedback.
No judgment for as long as its formatted automatically ;-).
I've been able to solve the issue for me just now. Hoping it helps you as well:
mason.vim
who is doing the formatting. This is done by conform.nvim instead. You can check the formatter configuration using:ConformInfo
.ruff
formatter. I've configured most of them using the following configuration: