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

Add JSON schema generation for pyproject.toml with schemars for SchemaStore #1995

Closed
JonathanPlasse opened this issue Mar 17, 2024 · 1 comment · Fixed by #2005
Closed

Add JSON schema generation for pyproject.toml with schemars for SchemaStore #1995

JonathanPlasse opened this issue Mar 17, 2024 · 1 comment · Fixed by #2005
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@JonathanPlasse
Copy link
Contributor

JonathanPlasse commented Mar 17, 2024

Adding an automatic JSON schema generation of the maturin configuration in pyproject.toml would allow update SchemaStore easily and enable autocompletion and validation in pyproject.toml.
Ruff could be taken as an example, as it has an automatic JSON schema generation that use schemars.
Schemars only need to add some macro on the configuration struct.
The generation would be available through a feature.
I am willing and able to implement it.

This feature has been requested on the SchemaStore repo.

@JonathanPlasse JonathanPlasse added the enhancement New feature or request label Mar 17, 2024
@messense
Copy link
Member

Thanks, pull requests are welcome!

@messense messense added the good first issue Good for newcomers label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants