Question
I have some rule that I want my pre-commit to fix but not my editor while I'm developing (as unused import rules or commented code rules).
Previously, I used ruff.args to specify those rules as unfixable.
Since the migration and deprecation of ruff.args, this option doesn't seem to exist anymore.
Examples
Let's say you have these settings in VS Code:
{
"ruff.lint.args": ["--config=/app/pyproject.toml", "--unfixable=F401,F841,ERA001"],
}
I would have expected a migration as:
{
"ruff.configuration": "/app/pyproject.toml",
"ruff.lint.unfixable": ["F401", "F841", "ERA001"]
}
Version
No response
Question
I have some rule that I want my
pre-committo fix but not my editor while I'm developing (as unused import rules or commented code rules).Previously, I used
ruff.argsto specify those rules asunfixable.Since the migration and deprecation of
ruff.args, this option doesn't seem to exist anymore.Examples
Let's say you have these settings in VS Code:
{ "ruff.lint.args": ["--config=/app/pyproject.toml", "--unfixable=F401,F841,ERA001"], }I would have expected a migration as:
{ "ruff.configuration": "/app/pyproject.toml", "ruff.lint.unfixable": ["F401", "F841", "ERA001"] }Version
No response