You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was very pleased when astral-sh/ruff#8841 was released. However, when i tried to modify my setup and replace isort with ruff-isort, i was not able to get auto-formatting using the VSCode extension.
Running Ruff VSCode extension v2023.50.0 with import strategy set to fromEnvironment.
Running Ruff 0.1.7
I might be totally wrong here, but it seems like the extension is using an old json-schema at https://json.schemastore.org/ruff.json this might be the issue, and an update to the schema is the only thing needed.
If this is the case, would it be an idea if fromEnvironment is set to True, that the json-schema from the ruff package is used instead of the one from the json schemastore? I might be oversimplifying this, and i also understand that the extension must be available to use without the package.
The text was updated successfully, but these errors were encountered:
Ah yeah, we need to update the JSON Schema in schemastore. Unfortunately, that's just a process that's entirely separate from the release, and so the version in schemastore is occasionally out-of-sync with main.
I was very pleased when astral-sh/ruff#8841 was released. However, when i tried to modify my setup and replace isort with ruff-isort, i was not able to get auto-formatting using the VSCode extension.
Running Ruff VSCode extension v2023.50.0 with import strategy set to
fromEnvironment
.Running Ruff 0.1.7
Minimal
pyproject.toml
When checking ruff output in vscode, i get the following
I might be totally wrong here, but it seems like the extension is using an old json-schema at https://json.schemastore.org/ruff.json this might be the issue, and an update to the schema is the only thing needed.
If this is the case, would it be an idea if
fromEnvironment
is set to True, that the json-schema from the ruff package is used instead of the one from the json schemastore? I might be oversimplifying this, and i also understand that the extension must be available to use without the package.The text was updated successfully, but these errors were encountered: