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

Publish rules YAML schema for validation #357

Open
jpower432 opened this issue Oct 1, 2024 · 0 comments
Open

Publish rules YAML schema for validation #357

jpower432 opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jpower432
Copy link
Member

Is your feature request related to a problem? Please describe.

Allow the rules YAML to be validated during authoring through IDEs or for pre-submission schema validation. Rules with invalid schemas cannot be checked pre-commit currently.

Describe the solution you'd like

The TrestleRule model is defined with pydantic. Used pydantic features to generate a JSON schema.

Describe alternatives you've considered
None

Additional context
N/A

@jpower432 jpower432 added the enhancement New feature or request label Oct 1, 2024
@jpower432 jpower432 added the good first issue Good for newcomers label Oct 1, 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
Status: Backlog
Development

No branches or pull requests

1 participant