Commit Graph
24 Commits
Author SHA1 Message Date
Sebastian Rittau 6f00053511 Add stubs for bleach (#2709)
* Add stubs for bleach

* Support Python 2 for bleach

* Add missing imports
2019-03-10 21:08:46 -07:00
Sebastian Rittau 0989d9507e Fix groupby with key=None (#2794)
Cf #2790
2019-02-13 08:45:24 -08:00
Sebastian Rittau eb1788ac39 Merge Python 2 and 3 builtins.pyi (#2533) 2018-12-21 07:12:41 -08:00
Sebastian Rittau 53d8756214 Guidelines for incomplete stubs (#2661)
* Remove the guideline to use any for preliminary stubs

Closes #2648
2018-12-04 19:20:13 +01:00
Sebastian Rittau 4fb22f61e4 Reference black, split long functions (#2651)
Closes #2598
2018-12-01 22:45:10 +01:00
Sebastian Rittau ece96777a7 Re-export pyexpat instead of using check_consistency (#2649) 2018-11-29 07:29:59 -08:00
Sebastian Rittau 517d2b6012 Remove unneeded ignores (#2624) 2018-11-23 09:51:44 -08:00
Sebastian Rittau 8c8dc5658f sudo is not required anymore (#2618) 2018-11-22 22:17:20 -08:00
Sebastian Rittau 36671663cc Accept upstream stubs when receiving no response (#2608)
Also, don't explicitly ask for people to ask for missing packages.

Closes #2573
2018-11-20 17:59:46 +01:00
Sebastian Rittau 82c59a7fc2 Merge Python 2 and 3 versions of itsdangerous (#2564) 2018-11-20 17:55:16 +01:00
Sebastian Rittau cd75801aa5 Replace non-ellipsis default arguments (#2550) 2018-11-20 07:35:06 -08:00
Sebastian Rittau b77da551d9 Remove label descriptions from CONTRIBUTING (#2572)
Closes #2562
2018-10-31 09:22:52 -07:00
Sebastian Rittau e3a79d0ce6 Remove third_party/3/enum.py (#2563)
All Python 3 versions supported by typeshed (3.4+) have enum as part
of the standard library.

Make the third-party Python 2 version consistent with the Python 3 version.
2018-10-27 08:54:56 -07:00
Sebastian Rittau 0730fe5fcb Fix return of patch() and patch.multiple() (#2520)
* Fix return of patch() and patch.multiple()

* Update third party mock as well
2018-10-25 20:55:11 -07:00
Sebastian Rittau 006a79220f Flake8 fixes (#2549)
* Fix over-indented continuation lines

* Fix under-indented continuation lines

* Fix whitespace around default operator problems

* Limit line lengths

* Fix inconsistent files
2018-10-24 07:20:53 -07:00
Sebastian Rittau 680d69bd81 Update to flake8 3.6.0 (#2547)
* Update to flake8 3.6.0

* Configure line length and move to 'nice to have'

* Also update flake8-bugbear and pin flake8-pyi
2018-10-24 05:53:33 -07:00
Sebastian Rittau c4f4c40601 Annotate jwt.algorithms (#2532)
Cf. #1446
2018-10-23 09:32:14 -07:00
Sebastian Rittau 6d6894e1ef Annotate werkzeug wrap_file() and FileWrapper (#2519)
* Add FileWrapper protocol to wsgiref.types

* Annotate werkzeug's wrap_file and FileWrapper

* Remove empty line at end of file

* Fix _Readable protocols
2018-10-23 13:43:53 +02:00
Sebastian Rittau 48fc8d6d82 Rework .travis.yml and run with Python 3.7 where possible (#2536) 2018-10-23 13:19:25 +02:00
Sebastian Rittau f07bdf418b Fix pytype test output (#2534) 2018-10-22 09:14:22 +02:00
Sebastian Rittau 2d3edbd348 Slightly improve annotation of tkinter.Tk (#2498)
Closes: #1767
2018-10-01 20:15:22 -07:00
Sebastian Rittau 7be20fcf91 Return Any, not Union from IP parsing functions (#2499)
Closes: #2080
2018-10-01 08:48:39 -07:00
Sebastian Rittau 9f98737119 weakproxy fixes (#2450)
* The callback argument to ref() and proxy() is optional, per documentation
* proxy() returns a ProxyType or CallableProxyType

Closes #1627
2018-09-25 20:23:02 -07:00
Sebastian Rittau ea2122741f os.path.exists (Py 3) accepts a file descriptor (#2451)
Closes #1653
2018-09-24 07:53:44 -07:00