Lukasz Langa
27f4185d06
Temporary workaround for pallets/werkzeug#1051
...
Starting with python/mypy#2521 mypy is performing stricter function signature
checks.
This makes the stubs diverge from the actual implementation but makes the stubs
internally consistent. Since this is an actual typing issue in the base
implementation, we need to defer to the original authors to fix it.
2016-12-22 14:40:50 -08:00
Lukasz Langa
4c6c2737b0
Temporary workaround for pallets/itsdangerous#74
...
Starting with python/mypy#2521 mypy is performing stricter function signature
checks.
This makes the stubs diverge from the actual implementation but makes the stubs
internally consistent. Since this is an actual typing issue in the base
implementation, we need to defer to the original authors to fix it.
2016-12-22 14:26:29 -08:00
Roy Williams
7c706e1100
Move boto to 2and3, add stubs for s3
...
I've added types for the functions we've been using internally, will expand in the future.
2016-12-22 11:23:36 -08:00
Lukasz Langa
38dd402b99
Fix broken imports in routes/__init__.pyi
...
This is needed by #786 .
2016-12-21 17:26:40 -08:00
Lukasz Langa
231ed7bb89
Fix broken imports in redis/__init__.pyi
...
This is needed by #786 .
2016-12-21 17:24:31 -08:00
Lukasz Langa
cfe1cbb426
Add missing import in werkzeug stubs.
...
This is needed by #786 .
2016-12-21 17:20:01 -08:00
Lukasz Langa
609b2486d1
Add missing Optional import.
2016-12-21 01:18:34 -08:00
Lukasz Langa
c0c982ada5
Add missing Dict imports.
2016-12-21 01:15:26 -08:00
Lukasz Langa
82b2d8e3bc
Fixing flake8 F403, F405 errors
2016-12-20 02:28:12 -08:00
Lukasz Langa
99a57e5cbe
Fixing flake8 E251 errors
2016-12-20 01:54:34 -08:00
Lukasz Langa
68a49c2c2e
Fixing flake8 E111, E114, E116, E203, E225, E262 errors
2016-12-20 01:39:18 -08:00
Lukasz Langa
ad9038dcd7
Fixing flake8 E303 errors
2016-12-20 01:08:00 -08:00
Lukasz Langa
6eb97964fd
Fixing flake8 E401, E402 errors
2016-12-20 00:47:51 -08:00
Lukasz Langa
147772950f
Fixing flake8 E265 errors
2016-12-20 00:16:44 -08:00
Lukasz Langa
5b6a9937b2
Fixing flake8 E266 errors
2016-12-20 00:06:36 -08:00
Lukasz Langa
6b5c6626d6
Fixing flake8 E121, E122, E123, E124, E125, E126 errors
2016-12-19 23:53:19 -08:00
Lukasz Langa
67e38b6806
Fixing flake8 E231 errors
2016-12-19 23:53:19 -08:00
Wesley Bowman
93ec300dd4
added a few types to simplejson's dumps to match dump ( #781 )
...
* added a few types to simplejson's dumps to match dump
* fixed the fp option on dumps
2016-12-19 23:52:22 -08:00
Lukasz Langa
fe0e3744cc
Fixing flake8 E261 errors
2016-12-19 22:09:35 -08:00
Lukasz Langa
b84f20a011
Fixing flake8 W errors
2016-12-19 21:52:56 -08:00
Roy Williams
89da3a4159
Move Crypto to 2and3 and generate rest of stubs. ( #782 )
...
I implemented strong types for Crypto.Cipher
2016-12-19 20:13:51 -08:00
Tom Manderson
5dbc7d1db6
Py2 SQLAlchemy: Move some TypeEngine functions from subclasses to TypeEngine ( #724 )
2016-12-13 15:38:55 -08:00
Matthias Kramm
79061f9de2
move simplejson from stdlib/ to third_party/ ( #752 )
2016-12-06 17:43:47 -08:00
Philip House
8e1cad6837
#538 fixing concurrent.futures.ProcessPoolExecutor ( #728 )
2016-12-02 11:10:48 +00:00
Guido van Rossum
33c0134b70
Move PY2 werkzeug stubs to 2/ directory.
...
We no longer use 2.7/ since that is the only version.
2016-11-28 13:48:19 -08:00
Roy Williams
8305d51e75
Add more specific types for requests.session.Session.mount and BaseAdapter ( #674 )
2016-11-10 11:14:30 -08:00
Ruud van Asseldonk
ca98a8ee91
Add ret_type keyword argument for croniter ( #668 )
...
The croniter __init__ method does have a ret_type keyword argument.
See also https://github.com/kiorky/croniter/blob/062fdc0/src/croniter/croniter.py#L66 .
2016-11-09 08:18:09 -08:00
Elazar Gershuni
58d60343ba
fix self for thirdparty ( #646 )
2016-10-30 15:02:23 -07:00
TrueBrain
15ec66cdd6
Consider __doc__ always Optional. ( #641 )
...
python/mypy#2380 showed a discrepancy between object and FunctionType in stdlib2. The first defined __doc__ to be str, the second Optional[str]. As FunctionType depends on object, this is no longer valid.
As suggested by @gvanrossum in python/mypy#2380 , all __doc__ should be considered Optional.
(Final verdict was just to remove most __doc__ attributes since it's inherited from object.)
2016-10-30 11:48:23 -07:00
Guido van Rossum
cb97bb54c0
Move 2.7 to 2 ( #635 )
...
Closes #579 .
2016-10-26 16:24:49 -07:00