-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add stubs for werkzeug #530
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
Conversation
d68f3f6
to
3cb1945
Compare
I see that you're also doing some |
@@ -7,8 +7,9 @@ | |||
# NOTE: These are incomplete! | |||
|
|||
from typing import ( | |||
Any, Dict, Generic, TypeVar, Iterable, Tuple, Callable, Mapping, overload, Iterator, | |||
Sized, Optional, List, Set, Sequence, Union, Reversible, MutableMapping, MutableSequence | |||
Any, Container, Dict, Generic, TypeVar, Iterable, Tuple, Callable, Mapping, overload, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it's just a cleanup. Can you roll that back? It's not pertinent to the purpose of the PR, and in general we don't accept cleanup diffs (they just cause churn without much value).
@@ -0,0 +1,110 @@ | |||
# Stubs for cookielib (Python 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this a separate PR? It's easier to manage things that way.
@@ -13,9 +13,11 @@ from typing import ( | |||
# These are exported. | |||
# TODO reexport more. | |||
from typing import ( | |||
Container as Container, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, but I'd like to see this (and anything else that's not strictly part of werkzeug) in a separate PR.
Hey Roy, are you still interested in this? |
(Extracted from PR #530 by Roy Williams, @rowilla.)
Hey @rowillia are you interested in bringing this to completion? I've cherry-picked your addition of cookielib and your changes to collections and urllib. Also, one reason for the merge conflict is probably that I renamed the |
I was mostly requesting separating the stdlib changes, and I've now cherry-picked those into master.
ffaaa40
to
61dcf72
Compare
@gvanrossum Rebasing this now. I need #691 in to get this passing in mypy/2.7 |
Thanks. I need to take a break from all work, hopefully it can wait or someone else will be able to review it. |
@gvanrossum Enjoy your time off! |
61dcf72
to
40f0358
Compare
@gvanrossum Rebased with passing tests now that the |
Thanks! Is your next project going to be flask stubs? |
@gvanrossum it will be 😄 |
No description provided.