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

fix: setuptools readme field fix #116

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Oct 12, 2023

Forgot I found this small bug. It was possible to sneak extra keys in tool.setuptools.dynamic.readme.

@henryiii henryiii marked this pull request as draft October 12, 2023 14:50
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii force-pushed the henryiii/fix/readme branch from 148c01a to bde218a Compare October 13, 2023 17:49
"content-type": {"type": "string"},
"file": { "$ref": "#/definitions/file-directive/properties/file" }
},
"additionalProperties": false}
],
"required": ["file"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FYI, this could be moved inside the second anyOf item, however I liked the error message better this way, so unless it's required to make the Schema compliant to something, which it doesn't seem to be, I think putting it here is fine.

@henryiii henryiii marked this pull request as ready for review October 13, 2023 18:18
@abravalheri abravalheri merged commit 87f335f into abravalheri:main Oct 23, 2023
15 checks passed
@henryiii henryiii deleted the henryiii/fix/readme branch October 23, 2023 16:57
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