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

[wip] experimenting with type hint generation (pyannotate) #832

Closed
wants to merge 1 commit into from

Conversation

obestwalter
Copy link
Member

@obestwalter obestwalter commented May 26, 2018

I did not do much with this yet, just added the recommended boilerplate for pytest and ran the tests. On first view it only generated hints for the tests itself (where we definitely not would want them, I guess), but not for the production code.

Also see http://mypy-lang.blogspot.de/2017/11/dropbox-releases-pyannotate-auto.html

related issue: #831

@gaborbernat
Copy link
Member

gaborbernat commented May 26, 2018 via email

@gaborbernat
Copy link
Member

See https://github.com/gaborbernat/tox/tree/type-hint-stubs/tox for details 👍 requires python/mypy#5028 before creating a PR though.

@obestwalter
Copy link
Member Author

I did not put much work in yet, I just played with it for a bit and thought I push that boilerplate up, if anyone wants to experiment. looking forward to see what's coming out of this then.

@codecov
Copy link

codecov bot commented May 26, 2018

Codecov Report

Merging #832 into master will decrease coverage by <1%.
The diff coverage is 82%.

@@          Coverage Diff           @@
##           master   #832    +/-   ##
======================================
- Coverage      95%    95%   -<1%     
======================================
  Files          11     11            
  Lines        2317   2328    +11     
======================================
+ Hits         2209   2218     +9     
- Misses        108    110     +2

@obestwalter obestwalter mentioned this pull request May 26, 2018
@gaborbernat
Copy link
Member

This now is getting out of date, so I'll close.

@gaborbernat gaborbernat deleted the pyannotate-type-hints branch June 29, 2018 16:18
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