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

New TOML Schemas: Add various schemas from Taplo #2368

Merged
merged 2 commits into from
Jul 23, 2022

Conversation

hyperupcall
Copy link
Member

@hyperupcall hyperupcall commented Jul 23, 2022

This adds variuos schemas for TOML files from the Taplo repository. The project is deprecating its own schemas, in favor of moving them over here.

I'll note that there are various Taplo-specific properties, which I have added to the "unknownKeywords" property - I assume they are OK since I've seen other Intelij-specific keywords as well?

This would close #2327. This PR also includes a schema for pyproject.toml, so I'm not sure how that should be handled since PR #2365 also adds that schema. I have copied and pasted the test files from that PR into this PR, and they seem to pass against this version of the pyproject.toml schema as well.

@hyperupcall hyperupcall changed the title New Schemas: Add various schemas from Taplo New TOML Schemas: Add various schemas from Taplo Jul 23, 2022
@GerryFerdinandus GerryFerdinandus merged commit 67e535d into SchemaStore:master Jul 23, 2022
@GerryFerdinandus
Copy link
Contributor

Thanks

@EpicWink
Copy link
Contributor

EpicWink commented Jul 23, 2022

I have copied and pasted the test files from that PR into this PR, and they seem to pass against this version of the pyproject.toml schema as well.

They pass because of a lack of top-level additionalProperties: false. I probably should have added some not-tests.

The schemas will need to be merged.

Edit: I've added negative tests to my branch

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

Successfully merging this pull request may close these issues.

Add schema for pyproject.toml
3 participants