Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code Extenstion: failed to resolve schema error=failed to resolve relative schema schema_url #620

Open
felixgwilliams opened this issue Jun 13, 2024 · 0 comments

Comments

@felixgwilliams
Copy link

I've noticed that when editing a pyproject.toml file in VSCode, the schema used for completions seems to be out of date.
In particular, it does not recognize [tool.ruff.lint], which is now the preferred place for configurating the ruff linter.
This change is reflected in https://json.schemastore.org/ruff.json, which https://json.schemastore.org/pyproject.json references.
I presume that the extension is not able to retrieve the updated schema files.

Looking at Output>Even Better TOML LSP, I see this error message repeated:

ERROR completion:possible_schemas_from: failed to resolve schema error=failed to resolve relative schema schema_url=https://json.schemastore.org/pyproject.json path=```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant