Why can't ruff-lsp check for E30* errors even if I add the --preview parameter?
a1401358759 opened this issue · 2 comments
a1401358759 commented
MichaReiser commented
I think the problem is that Ruff, by default, only enables the E4
, E7
, E9
, and F
rules. That means you need to change your configuration to also enable E3
in addition to enabling preview mode:
args = {
"--preview",
"--ingore=E402,E501",
"--line-length=120",
"--extend-select=E3"
}
a1401358759 commented
@MichaReiser Thank you very much for your answer, it works!