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

Adopt typing information from typeshed (PEP-561) #964

Closed
wants to merge 2 commits into from

Conversation

ssbarnea
Copy link
Contributor

@ssbarnea ssbarnea commented Jun 7, 2022

Avoids problems with mypy by officially declaring the library as typed while copying the current type information from types-jsonschema.

From now on the library itself is typed and we will be able to ensure that this types are correct and always in sync with each version of the library.

Closes: #963

Avoids problems with mypy by officially declaring the library as
typed and copies the current type information from types-jsonschema.

From now on the library itself is typed and we will be able to ensure
that this types are correct.
@Julian
Copy link
Member

Julian commented Jun 7, 2022

@ssbarnea to save you some time I'm going to close this I think.

A PR of 400+ lines touching 13 files doesn't meet any definition of "small" that I mentioned in the comment.

Separately it seems @sirosen isn't in agreement neither with the proposal to copy things in this PR nor that the original report from #963, so you need to discuss that.

More generally, I think you need to pay closer attention to reading comments carefully and making sure there's buy-in before spinning wheels. #963 itself was a good sign of not paying attention to what was previously discussed.

@Julian Julian closed this Jun 7, 2022
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.

Unable to use recent versions of jsonschema from typed code (mypy)
2 participants