Roy Williams
0391e72a6e
Expose pytz.UTC as an instance as opposed to as a class ( #723 )
...
* Expose pytz.UTC as an instance as opposed to as a class
pytz shadows UTC after declaring it with a singleton:
https://github.com/newvem/pytz/blob/master/pytz/__init__.py#L135
This fixes https://github.com/python/typeshed/issues/710
2016-11-29 23:04:53 -08:00
Roy Williams
1dff8e4a45
Add stubs for markupsafe ( #718 )
...
* Add stubs for markupsafe
* Add more specific types for markupsafe
This is needed for Flask. Permission was given here:
https://github.com/pallets/itsdangerous/issues/69#issuecomment-246516942
2016-11-29 13:32:12 -08:00
David Foster
5c4300a4bd
Add mypy_extensions. ( #611 )
2016-10-17 16:39:17 -07:00
Tim Abbott
94e0625e82
Fix ujson stubs to properly use AnyStr. ( #540 )
...
The ujson module apparently will accept both bytes and text format
input, however, it does always output a str (both on Python 2 and
Python 3).
Some discussion in: https://github.com/python/typeshed/pull/460
2016-09-13 10:07:44 -07:00
Michael Lee
313b584e34
Add stubs for ujson ( #460 )
2016-08-11 17:08:03 -07:00
Fabian Heredia Montiel
4a408c014f
Add pytz basic typing ( #383 )
...
* Add pytz basic typing
* Add pytz.lazy basic typing
* Move the files to the correct path
* Move files to correct directory
* Ignore issue with different sig from supertype
2016-07-22 05:52:40 -07:00
Ben Darnell
1626c25087
Add some third_party modules.
...
backports_abc and singledispatch were made with stubgen, certifi was
written by hand, and ssl_match_hostname was copied from ssl.pyi.
2016-01-16 16:56:25 -05:00