Skip to content

Use types_or in TOML example #100

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

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

mondeja
Copy link
Contributor

@mondeja mondeja commented Jun 2, 2022

Hi, just found a problem in the current TOML example for pre-commit. I've done a comparison between the current example and this solution in a separate repo:

Copy link
Member

@sirosen sirosen left a comment

Choose a reason for hiding this comment

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

Yes, good catch. Thanks!

I looked into some of the original discussion around types_or to see if I was missing something, but it seems like the best thing for right now is to just include examples using types_or.

I'll try to make sure that any changes to types/types_or/files and other matching goes into the changelog in the future, so that nobody sees surprises with this.

@sirosen sirosen merged commit aec38b3 into python-jsonschema:main Jun 2, 2022
@mondeja mondeja deleted the fix-toml-example branch June 2, 2022 16:45
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