Commit Graph
51 Commits
Author SHA1 Message Date
Kevin Kirsche 65c4ddfc57 Update parsimonious to 0.10.0 (#8730) 2022-09-13 15:59:08 +01:00
Kevin Kirsche 525d122448 Improve paramiko.win_pageant stubs (#8671) 2022-09-10 23:10:14 +01:00
Kevin Kirsche 8e4b89a707 fix: add missing paramiko.win_openssh (#8672) 2022-09-03 14:03:10 -07:00
Kevin Kirsche 82cccac369 jsonschema._format: update some annotations to match upstream (#8673) 2022-09-03 12:54:48 +01:00
Kevin Kirsche 80fdf9e6c6 paramiko: Add missing types in __init__.pyi and _version.pyi (#8651) 2022-08-31 18:00:39 +01:00
Kevin Kirsche 2c7ac0990f Remove ssl.SSLContext.__init__ (#8640)
Fixes: #8632
2022-08-29 13:07:59 +01:00
Kevin Kirsche 269c07589a Add more annotations to xml.dom.minidom and xml.sax.handler (#8590) 2022-08-22 16:20:34 +01:00
fb62ccabf5 Add missing annotations for xml.dom.minidom.DOMImplementation (#8556)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-20 20:33:40 +01:00
Kevin Kirsche b26c31a23c Update sys.exit and SystemExit.code to have the same types (#8554) 2022-08-20 10:59:38 +01:00
Kevin Kirsche 308291033f xml: add missing xml.dom.minidom.*.nodeType type (#8557) 2022-08-18 19:56:55 -07:00
Kevin Kirsche 80ce12e295 Update setuptools to 65.1.* (#8565)
Fixes #8563
2022-08-18 18:16:24 -07:00
Kevin Kirsche 8c51fab4e2 Support extras in stubtest_third_party.py (#8467) 2022-08-18 14:12:36 -07:00
Kevin Kirsche a8c8178127 Add missing NETLINK re-exports of linux socket constants (#8555) 2022-08-18 20:24:58 +01:00
Kevin Kirsche 3e88363b34 requests.adapters: use re-exports rather than assignments (#8485) 2022-08-05 12:46:07 +01:00
Kevin Kirsche 68f20a4a23 Add requests.help submodule (#8486) 2022-08-05 12:32:40 +01:00
46a3806312 Add requests.__version__; improve requests.__init__ (#8484)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-05 12:28:35 +01:00
103c2f39d2 Add urllib3.contrib.socks; improve urllib3.connectionpool (#8457)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-04 11:36:40 +01:00
7953848101 Various pyvmomi improvements (#8469)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-03 23:08:08 +01:00
Kevin Kirsche bd7a02fad4 refactor: prefer f-strings to other format/concatentation styles (#8474) 2022-08-03 14:04:27 +02:00
Kevin Kirsche 65dadac46d Add some missing stubs in datetimerange (#8470) 2022-08-02 23:08:18 +01:00
Kevin KirscheandAlex Waygood 3d9e907873 Improve urllib3.fields annotations (#8456)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-08-01 15:39:21 +01:00
Kevin Kirsche ca633bbde8 Add type hints to flask_sqlalchemy.model (#8389) 2022-07-31 15:36:46 +01:00
36a5bb08ad Annotate flask_sqlalchemy.__init__.Pagination (#8390)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-31 11:52:26 +01:00
Kevin Kirsche f550c24886 Add multiprocessing.popen_spawn_win32 submodule (#8428) 2022-07-29 16:02:15 +01:00
Kevin Kirsche 17e3cf99a4 Add multiprocessing.popen_spawn_posix submodule (#8427) 2022-07-29 15:52:49 +01:00
Kevin Kirsche e48c176e7b Update emoji stubs for v2.0.0 (#8426) 2022-07-28 18:29:35 +01:00
1f0e641521 Add multiprocessing.popen_forkserver submodule (#8425)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-28 17:26:06 +01:00
fe1e3ef91b Add multiprocessing.heap submodule (#8412)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-28 16:27:25 +01:00
087fb6b96d Add multiprocessing.popen_fork submodule (#8420)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-28 16:19:43 +01:00
dd24bba3dd Add multiprocessing.resource_sharer submodule (#8413)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-28 16:09:18 +01:00
Kevin Kirsche 177bbf7864 Add curses.has_key submodule (#8421) 2022-07-28 14:39:44 +01:00
Kevin Kirsche b7b98a6c9f curses: add Concatenate (#8414)
Update the `wrapper` `__func` parameter to use ParamSpec and Concatenate to address a todo.
2022-07-27 20:02:25 -07:00
Kevin Kirsche 16e44d560f Fix TODO RE: Use of Concatenate and ParamSpec in sqlalchemy (#8415) 2022-07-27 20:00:43 -07:00
Kevin Kirsche 046c0104e4 Fix todo in setuptools.command.test (#8416)
With https://github.com/python/mypy/pull/10884 merged and released, this should be safe to re-enable per the todo comment.

https://github.com/pypa/setuptools/blob/main/setuptools/command/test.py#L117
2022-07-27 18:23:37 -07:00
48e502c431 fix: Add missing multiprocessing.util types (#8404)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-27 20:22:54 +01:00
Kevin Kirsche 5397d430ea Add multiprocessing.resource_tracker submodule (#8405) 2022-07-27 17:31:31 +01:00
a0c1a2f566 Add multiprocessing.forkserver submodule (#8406)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-27 17:08:12 +01:00
Kevin KirscheandAkuli 41435ef25a Allow handling None return values of RawConfigParser.get (#8380)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-07-27 01:23:58 +03:00
Kevin KirscheandJelle Zijlstra d8b0c605ed mysqlclient.connection: add missing type hints (#8393)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-07-26 06:26:35 -07:00
Kevin KirscheandShantanu 33878a6ea4 requests: add type hints to requests.utils (#8395)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-07-26 06:25:56 -07:00
Kevin Kirsche 37911bfaa3 Add type hints to mysqlclient.times (#8392) 2022-07-26 15:06:37 +02:00
Kevin Kirsche 5732b8f34e email.Message.walk yields self (#8398)
This updates the generator used by `Message` to return `Self` so that it correctly changes when a `MIMEPart` or `EmailMessage`.

Fixes #8290
2022-07-26 11:17:45 +02:00
Kevin Kirsche df905102da Add more urllib3.__init__ annotations (#8402) 2022-07-25 22:17:52 +01:00
Kevin Kirsche ef810e4f47 Annotate mysqlclient.release.version_info (#8391) 2022-07-25 22:08:17 +01:00
Kevin Kirsche 432e55b039 Add missing re-exports and vars to requests.compat (#8396) 2022-07-25 21:56:05 +01:00
Kevin Kirsche d3c4cb105a Add missing __version__ to chardet.__init__ (#8401) 2022-07-25 21:37:21 +01:00
Kevin Kirsche 0a31779909 Update CONTRIBUTING.md as TypeAlias is now allowed (#8397) 2022-07-25 12:53:33 -07:00
Kevin Kirsche 980b1954fd PyYaml’s Serializer: annotate open, close, serialize (#8383)
As seen here:
https://github.com/yaml/pyyaml/blob/master/lib/yaml/serializer.py#L27-L41

Neither `open` nor `close` methods return, so `None` added as the return type.

Finally, serialize accepts a Node and does not return as seen here:
https://github.com/yaml/pyyaml/blob/master/lib/yaml/serializer.py#L46-L58
2022-07-24 14:51:39 +01:00
Kevin Kirsche a066618eb6 mysqlclient: Annotate types of exceptions in Connection class (#8382) 2022-07-24 14:48:48 +01:00
Kevin Kirsche f7166fc6ea Add return type to MySQLdb.Connection.__enter__ (#8381)
This pull request adds the return type, as seen in the link below, to the `mysqlclient.MySQLdb.connections:Connection.__enter__`
https://github.com/PyMySQL/mysqlclient/blob/main/MySQLdb/connections.py#L230-L231
2022-07-24 12:48:47 +01:00
Kevin Kirsche ccdb558af9 fix: Return Never rather than None from signal.default_int_handler (#8249) 2022-07-06 11:05:38 -07:00