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

Stubgen improvements: preserving existing annotations #3169

Merged
merged 22 commits into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
df22528
Stubgen using python3.6 variable syntax for stubs
dmoisset Apr 7, 2017
cb5296d
Adjust stubgen tests to new output
dmoisset Apr 7, 2017
da25e1c
Added annotation pass-through for variable annotations
dmoisset Apr 7, 2017
96de85c
Refactor handling on import/names and add imports for annotations
dmoisset Apr 7, 2017
fb42258
Preserve function annotations
dmoisset Apr 8, 2017
749b1ac
Add tests for preserving annotations
dmoisset Apr 13, 2017
6fbbf60
Fix linter checks
dmoisset Apr 13, 2017
4b98aa0
Try to preserve typevars and type alias
dmoisset Apr 13, 2017
a85b3c2
Pass through generic base classes
dmoisset Apr 13, 2017
a4ec686
Use space around '=' on annotated function defaults
dmoisset Apr 20, 2017
530792e
Fix broken tests after rebase
dmoisset Sep 1, 2017
dad8deb
Clarify on the use of visit_call_Expr to handl TypeVar
dmoisset Sep 1, 2017
e50e744
Add test for infer Optional on __init__ arguments
dmoisset Sep 1, 2017
cb8d946
remove uoting in stub files, not needed
dmoisset Sep 1, 2017
7302599
Add some clarifications in complex methods and data structures in Imp…
dmoisset Sep 1, 2017
df0d5cf
Add test for deep, generic type alias
dmoisset Sep 1, 2017
7a7c7a9
remove unused import
dmoisset Sep 22, 2017
83006ba
Remove code no longer required now that implicit optional is discouraged
dmoisset Sep 22, 2017
a95e7a4
Reexport (with alias) names imported in __all__
dmoisset Sep 22, 2017
dd09d38
Reexport of modules, not just module attributes
dmoisset Sep 22, 2017
6d383ac
Preserve initializer (with ...) in classes
dmoisset Sep 22, 2017
93d300a
Fix in annotation to avoid covariance issue
dmoisset Sep 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading