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

feat: add --store to load a schema store #133

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Nov 30, 2023

This adds a --store option to load a schema store. I also considered --tools, and also considered requiring the fragment (#/properties/tools/properties), not sure which is best. I could see --store being expected to store something.

I'm also separately looking into a way to expose the "fragment" setting to classic plugins, since I think it would be useful to have a pinnable copy of the SchemaStore.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Copy link
Owner

@abravalheri abravalheri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very Henry!

src/validate_pyproject/cli.py Outdated Show resolved Hide resolved
src/validate_pyproject/pre_compile/cli.py Outdated Show resolved Hide resolved
@abravalheri
Copy link
Owner

👏

Please feel free to merge when you are satisfied with the implementation!

I think it is very good. Thank you very much!

@abravalheri abravalheri self-requested a review December 5, 2023 20:05
Copy link
Owner

@abravalheri abravalheri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that maybe it would make clear in the CLI if we show the URL as example. But please feel free to ignore if you think it is not relevant.

(Sorry, I'm writing from the phone, so the review suggestions might be tricky)

src/validate_pyproject/pre_compile/cli.py Outdated Show resolved Hide resolved
src/validate_pyproject/cli.py Outdated Show resolved Hide resolved
henryiii and others added 2 commits December 5, 2023 17:30
Co-authored-by: Anderson Bravalheri <andersonbravalheri+github@gmail.com>
@henryiii henryiii merged commit 95889dd into abravalheri:main Dec 14, 2023
17 of 29 checks passed
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.

2 participants