Commit Graph
5815 Commits
Author SHA1 Message Date
ShantanuGitHubhauntsaninja <>
c2fb0fb814 Downgrade stubtest a little (#7346)
Fixes #7344 for now.

As discussed in that issue, I think it might make sense to revert the
change to check positional-only arguments on dunders for now, since it
seems to be mostly busywork and has very little benefit for end users.

However, that'll happen on stubtest master, which typeshed isn't yet
ready for.

Co-authored-by: hauntsaninja <>
2022-02-21 17:05:46 -08:00
ShantanuGitHubhauntsaninja <>
075b8e02eb Update stubtest for async and dunder pos only checking (#7333)
Co-authored-by: hauntsaninja <>
2022-02-21 15:54:16 -08:00
Alex WaygoodandGitHub 3afc0b1ade Update inspect stubs for Python 3.11 (#7342) 2022-02-21 16:36:01 +01:00
kasiumandGitHub a1bec51768 Update flake8-simplify (#7339) 2022-02-21 12:17:43 +02:00
Adam JohnsonandGitHub 816f13339a Fix unittest.TextTestResult.printErrorList() (#7341) 2022-02-21 12:16:31 +02:00
Adam JohnsonandGitHub bd365f7093 Fix unittest.TextTestResult showAll name (#7340) 2022-02-21 11:33:45 +02:00
Nikita SobolevandGitHub 4d169eaa83 Adds bdist_wininst definition (#7249) 2022-02-20 22:58:48 -08:00
Alex WaygoodandGitHub e2524b0e96 Add asyncio.base_futures.__all__ (#7279) 2022-02-20 17:59:14 -08:00
Alex WaygoodandGitHub 189e4ea396 Use flake8-pyi 22.2.0 (#7338) 2022-02-20 17:46:42 -08:00
ShantanuGitHubhauntsaninja <>
65724c254d select: mark positional-only args (#7337)
Co-authored-by: hauntsaninja <>
2022-02-20 17:39:24 -08:00
Alex WaygoodandGitHub 072f1c246e Add Y034 to list of ignored error codes for typing.pyi (#7336)
Unblocks https://github.com/PyCQA/flake8-pyi/pull/186
2022-02-20 17:13:18 -08:00
Jelle ZijlstraandGitHub 61361ce059 contextvars, pycurl: make classes final (#7334) 2022-02-20 16:55:48 -08:00
Martin FischerandGitHub a287cfd925 Improve docutils stubs (#7256) 2022-02-20 16:49:11 -08:00
ShantanuandGitHub 94127ca2f5 builtins: add __build_class__ (#7324) 2022-02-20 16:16:07 -08:00
Martin FischerandGitHub a0901817cf argparse: Use Literal for action & nargs add_argument parameter types (#7329) 2022-02-20 16:12:07 -08:00
Alex WaygoodandGitHub 953f815f6b Add EnumMeta.__prepare__ (#7243) 2022-02-20 15:57:21 -08:00
Alex WaygoodandGitHub 8130e40536 Add asyncio.streams.__all__ (#7275) 2022-02-20 15:44:32 -08:00
ShantanuandGitHub 6c08c2f4bd graphlib: update for py311 (#7317) 2022-02-20 15:23:27 -08:00
ShantanuGitHubhauntsaninja <>
584e18491b xml.dom.minidom: add Node.__bool__ (#7323)
Co-authored-by: hauntsaninja <>
2022-02-20 15:22:02 -08:00
Alex WaygoodandGitHub 2fe519c3a7 Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325) 2022-02-20 15:08:14 -08:00
Alex WaygoodandGitHub 3ead05f277 Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328) 2022-02-20 15:06:54 -08:00
Alex WaygoodandGitHub 07de01f29e Add __all__ to modules beginning with 'm' (#7330) 2022-02-20 14:08:07 -08:00
Alex WaygoodandGitHub 3e579b8b29 Improve importlib.metadata (#7326) 2022-02-20 14:06:27 -08:00
Alex WaygoodandGitHub 8f2f857ffc Add __all__ for modules beginning with 'h' and 'i' (#7327) 2022-02-20 14:01:45 -08:00
ShantanuandGitHub 2279c87257 collections: fix some Counter nits (#7313) 2022-02-20 12:13:49 +02:00
ShantanuandGitHub 690864c86f heapq: re-export, add __about__ (#7308) 2022-02-20 12:04:44 +02:00
ShantanuandGitHub 6b29dca128 cgitb: add __UNDEF__ (#7322) 2022-02-20 11:51:59 +02:00
ShantanuandGitHub 991b74e166 math: add exp2 (#7321) 2022-02-19 20:57:33 -08:00
ShantanuGitHubhauntsaninja <>
6985d6a1a1 statistics: update for py311 (#7320)
Co-authored-by: hauntsaninja <>
2022-02-19 20:53:05 -08:00
ShantanuGitHubhauntsaninja <>
296920a9e9 zlib: update for py311 (#7315)
Co-authored-by: hauntsaninja <>
2022-02-19 19:57:43 -08:00
ShantanuGitHubhauntsaninja <>
8d911a313b glob: update for py311 (#7316)
Co-authored-by: hauntsaninja <>
2022-02-19 19:54:45 -08:00
ShantanuGitHubhauntsaninja <>
0eb6baa663 typing: don't accidentally use typing.Self (#7318)
We can switch to it when all type checkers have support

Co-authored-by: hauntsaninja <>
2022-02-19 19:53:30 -08:00
ShantanuGitHubhauntsaninja <>
823592e100 Update stubtest for final checking (#7312)
Co-authored-by: hauntsaninja <>
2022-02-19 18:53:15 -08:00
ShantanuandGitHub 06a2024422 decimal: add __libmpdec_version__ (#7311) 2022-02-19 18:17:46 -08:00
Alex WaygoodandGitHub b74acc7546 Add all the email __all__s (#7304) 2022-02-19 17:53:29 -08:00
Alex WaygoodandGitHub e9db3bd50a Add __all__ for modules beginning with 'c' and 'd' (#7303) 2022-02-19 17:51:27 -08:00
ShantanuGitHubhauntsaninja <>
ebdbd564be sqlalchemy: skip stubtest for now (#7310)
Co-authored-by: hauntsaninja <>
2022-02-19 17:47:55 -08:00
ShantanuGitHubhauntsaninja <>
c176911bfb flask-cors: remove unused allowlist (#7309)
Co-authored-by: hauntsaninja <>
2022-02-19 17:12:33 -08:00
ShantanuGitHubhauntsaninja <>
879b617366 Update stubtest for submodule versions, typeddict fix (#7306)
First step in #7305

Co-authored-by: hauntsaninja <>
2022-02-19 15:53:40 -08:00
Alex WaygoodandGitHub 49aa342c15 Add contextlib.__all__ (#7301) 2022-02-19 13:02:34 -08:00
Alex WaygoodandGitHub 6be5623cd6 Add contextvars.__all__ (#7302) 2022-02-19 13:01:21 -08:00
Alex WaygoodandGitHub 4343153c8c Add configparser.__all__ (#7300) 2022-02-19 12:28:28 -08:00
Alex WaygoodandGitHub 8955916099 Add concurrent.futures.__all__ (#7299) 2022-02-19 12:27:48 -08:00
Alex WaygoodandGitHub 2aa7d2dd7b Add compileall.__all__ (#7298)
All the alls of the alls
2022-02-19 12:27:07 -08:00
Alex WaygoodandGitHub 7ffeb66a13 Add colorsys.__all__ (#7297) 2022-02-19 12:26:45 -08:00
Alex WaygoodandGitHub cc1dd6d6ec Add collections.__all__ (#7296) 2022-02-19 12:26:23 -08:00
Alex WaygoodandGitHub f86c918829 Add codeop.__all__ (#7295) 2022-02-19 12:25:51 -08:00
Alex WaygoodandGitHub 199475ef8b Add codecs.__all__ (#7294) 2022-02-19 12:25:25 -08:00
Alex WaygoodandGitHub 6cd02c2aa8 Add code.__all__ (#7293) 2022-02-19 12:24:09 -08:00
Alex WaygoodandGitHub 18d254cb3b Add cgi.__all__ (#7292) 2022-02-19 12:23:48 -08:00