Avasam and Alex Waygood
d8e3f928b0
Add defaults for params and constants in python-xlib ( #9642 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-22 20:39:04 +00:00
Avasam
a5fc97e6da
Fix misnamed parameter in stubtest_third_party ( #9716 )
2023-03-09 07:33:45 +00:00
Avasam
14b06ae672
pytype_test.py: Fix typechecking errors following #9747 ( #9849 )
2023-03-06 18:23:07 +00:00
Avasam and Alex Waygood
635493a8f6
Update pkg_resources-stubs for use in pytype_test ( #9747 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-05 16:24:57 -08:00
Avasam
21c9ac5df6
Enable running stubtest on more of types-pika ( #9826 )
...
Make aliases for non-imported dependency private
2023-02-28 00:41:31 +00:00
Avasam
fee5f1b765
Remove most of setuptools._distutils ( #9795 )
2023-02-26 10:49:24 +00:00
Avasam
52ec44fa58
Improve many __(a)exit__ annotations ( #9696 )
2023-02-25 21:50:30 +00:00
75f47d0cb1
Typecheck typeshed's code with pyright ( #9793 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-22 18:53:07 +00:00
Avasam
078c6a0958
Update Unused parameters in stubs/ ( #9704 )
...
* Update _Unused TypeAlias
* Update `object | None` params
* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam
5ac80781ec
Integrate requirements-stubtest.txt into METADATA.toml ( #9778 )
2023-02-21 11:19:50 +01:00
Avasam
a6c6bc1b8e
Fix stdlib/disutils testing ( #9734 )
2023-02-21 08:06:20 +00:00
Avasam
040103a74e
Add missing symbols to tabulate ( #9781 )
2023-02-20 23:57:10 +00:00
Avasam
41d7ddb5fe
Bump pytype to 2023.2.17 ( #9782 )
2023-02-20 22:41:25 +00:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Avasam and Alex Waygood
74112dc189
Add a run_stubtest flag to scripts/runtests.py ( #9717 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-02-19 22:10:32 +00:00
Avasam
3fc2f27990
Add missing types in xml.dom.minidom ( #9731 )
2023-02-19 21:49:00 +00:00
Avasam
d92332d120
Type Loader parameter in PyYAML/yaml ( #9752 )
2023-02-19 19:22:14 +00:00
Avasam
50acb57cda
Ignore flake8 extensions stubbed by typeshed ( #9715 )
2023-02-19 12:42:03 +00:00
Avasam
1db405b15c
stubsabot: minor refactoring ( #9754 )
2023-02-18 14:25:04 -08:00
Avasam
140bba3425
Add comments when subclassing Any ( #9732 )
2023-02-14 14:11:56 +01:00
Avasam
965b3108fe
Further improve and simplify pyright configuration ( #9714 )
2023-02-12 22:42:23 +01:00
Avasam
a768744d51
Type and mark as final module-level dunders not meant to be overwritten in stdlib/ ( #9709 )
2023-02-12 16:15:20 +00:00
Avasam
95789d20b2
Bump pyinstaller to 5.8.* ( #9721 )
...
Release: https://pypi.org/pypi/pyinstaller/5.8.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.8.0
2023-02-11 18:00:16 -08:00
Avasam
2930f8c6f0
Set HOMEBREW_NO_INSTALL_CLEANUP to speedup brew installs ( #9713 )
2023-02-11 11:20:20 -08:00
Avasam
10086c06a1
Fix Any subclassing in fpdf2 ( #9536 )
2023-02-09 09:39:40 +01:00
Avasam
372073d35b
Use _typeshed.FileDescriptorOrPath in stubs ( #9695 )
2023-02-09 08:30:19 +01:00
Avasam
29d9aa9b28
Complete stubtest and fix Any subclassing in tqdm ( #9525 )
2023-02-07 00:15:44 +00:00
Avasam
f1aede7162
Manual changes of Any union to Incomplete in stubs folder ( #9566 )
...
- ClassVar[Any | None]
- Missed previous changes due to alias
- Manual review of leftover Any unions (`| Any` and `Any |`)
2023-02-02 06:48:41 -08:00
Avasam
0e7365a7ef
Add defaults for params and constants in pyscreeze ( #9641 )
2023-01-31 17:56:29 -08:00
Avasam
6c4059f188
Add defaults for params and constants in PyAutoGUI ( #9639 )
2023-01-31 17:26:03 -08:00
Avasam
b151e2396a
Add defaults for params and constants in pyinstaller ( #9640 )
2023-01-31 17:24:39 -08:00
Avasam
2ffd867f25
Increase mypy_primer comment length ( #9598 )
2023-01-29 11:43:38 -08:00
Avasam
6ac24ed923
Replace Any with Incomplete in many places ( #9565 )
2023-01-18 19:12:46 +00:00
Avasam and Alex Waygood
6cb934291f
Complete jack-client stub ( #9530 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-17 20:31:49 -08:00
Avasam
a991234832
types-Pillow: Allow stubtest to validate PIL.FpxImagePlugin and PIL.MicImagePlugin (#9531 )
2023-01-17 16:37:17 +00:00
Avasam
5b0488928d
Complete and validate redis.ocsp (use requests, cryptography and pyopenssl) ( #9528 )
2023-01-17 15:47:26 +00:00
Avasam
c70d303985
Audit stdlib object annotations ( #9519 )
2023-01-17 15:40:00 +00:00
Avasam
0e36622c72
Resolve stubtest allowlist entries for ldap3 ( #9532 )
2023-01-14 18:11:17 +00:00
Avasam
85792bca71
Fix stubtest for sqlalchemy.testing.plugin.pytestplugin ( #9533 )
2023-01-14 13:38:20 +00:00
Avasam
1a9aa3f3fe
Update various comments now non-types dependencies are allowed ( #9527 )
2023-01-14 13:20:04 +00:00
Avasam
cd56735bf0
Allow influxdb-client to be completely tested by stubtest ( #9529 )
2023-01-14 11:03:21 +00:00
Avasam
1946907451
Allowlist-only fixes for stubtest on Windows ( #9522 )
2023-01-13 12:45:38 +00:00
Avasam
b216053432
Fix setuptools stubtest on windows ( #9521 )
2023-01-13 08:16:39 +00:00
Avasam
f84dca699d
Fix passlib stubtest on windows ( #9523 )
2023-01-13 08:14:37 +00:00
Avasam
102a8fa38c
Fix some Any subclassing in tqdm ( #9505 )
2023-01-13 08:10:21 +00:00
Avasam
aad1a14890
Use the FileDescriptorOrPath alias consistently in the stdlib ( #9513 )
2023-01-12 18:14:48 +00:00
Avasam
63c7fb0914
Use environment marker to restrict flake8 install ( #9510 )
2023-01-12 09:57:18 +00:00
Avasam and Alex Waygood
bc08ecfd10
Overhaul ldap3 stubs ( #9470 )
...
Add a dependency on `types-pyasn1`, removing the need to subclass `Any`. Fill in many missing types. Use `Incomplete` rather than `Any` where applicable.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-11 23:14:41 +00:00
Avasam
5f08529a4d
SQLAlchemy: Remove some implementation details (#9492 )
...
Stubs for the mypy plugin, which aren't useful if you're using typeshed's SQLAlchemy stubs, have been removed.
2023-01-11 11:21:18 +00:00
Avasam
5eb6a692f5
types-pyinstaller: no longer subclass "Any" ( #9495 )
2023-01-11 09:32:54 +00:00
Avasam
3c24501bb7
openpyxl: Use "Incomplete" instead of "Any" ( #9488 )
2023-01-10 17:54:06 +00:00
Avasam
41de5317b5
Add FileDescriptorOrPath and Unused type aliases ( #9475 )
2023-01-08 10:05:51 +00:00
Avasam
f115a3c58d
Offer sensible default VSCode settings ( #9436 )
2023-01-08 09:50:20 +00:00
Avasam
64e02a05c2
Use pyasn1 in python-jose ( #9469 )
2023-01-07 15:32:28 +00:00
Avasam
e584337a72
Update actively supported type checker list in readme ( #9472 )
...
- Added pyright mention in readme
- Add links to help navigate away readers looking for type-checkers
- Add missing code-block
2023-01-06 13:45:51 -08:00
Avasam and Alex Waygood
b5048a00e6
Add stubs for pyasn1 ( #9437 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-06 18:25:48 +00:00
Avasam
6a6a677ae3
Improve various jmespath types
...
Merge `jmespath` from microsoft/python-type-stubs
2023-01-05 11:37:08 +00:00
Avasam
3b94e71280
Add types-html5lib as a dependency of types-beautifulsoup4 ( #9462 )
...
Remove the need for subclassing `Any`
2023-01-05 10:40:17 +00:00
Avasam
9041a925cf
Add types-docutils as a dependency of types-setuptools ( #9460 )
...
Remove the need for subclassing `Any`
2023-01-05 10:37:44 +00:00
Avasam
7fdbb7228c
Bump Pillow to 9.4 ( #9453 )
...
Closes #9448
2023-01-04 23:38:41 +01:00
Avasam and Alex Waygood
70025c3723
Support third-party stub external dependencies in pytype ( #9449 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-04 19:32:23 +00:00
Avasam and Alex Waygood
3e24c65c3b
Rework how pyright is run in CI to allow for non-types dependencies( #9434 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-03 22:43:56 +00:00
Avasam
7c15e6998f
Autoformat YAML files ( #9450 )
2023-01-03 08:55:06 +01:00
Avasam
0edcfa13ad
Add syntax highlight to all shell code blocks ( #9445 )
2023-01-02 23:55:25 +00:00
Avasam
c45999d905
Re-enable NQA102 ( #9426 )
...
re-enable NQA102
2023-01-02 23:49:02 +00:00
Avasam
4a7e14e5ad
Deduplicate stubtest command in actions ( #9444 )
2023-01-02 22:19:47 +00:00
Avasam
c41fbc1303
Add typing-extensions to requirements-tests.txt ( #9438 )
2023-01-01 11:25:51 +00:00
Avasam
46f0d918ef
A more accurate termcolor.colored fallback ( #9435 )
2022-12-31 22:52:26 +00:00
Avasam
23ac9bff19
Check for unused pyright: ignore and differentiate from mypy ignores ( #9397 )
2022-12-28 10:44:29 +00:00
Avasam
07f587dc70
Bump python-xlib to 0.33 ( #9420 )
2022-12-27 20:07:12 -08:00
Avasam
3c58efd9a2
mypy_primer: Resolve node.js 12 actions deprecation warning ( #9421 )
2022-12-28 02:23:44 +00:00
Avasam
307dd08a6e
Bump pyinstaller to 5.7.* ( #9343 )
2022-12-08 10:45:30 +00:00
Avasam and Alex Waygood
0c3cf8f5e6
More pywin32 stub completion ( #9308 )
...
Completed based on usage of the following libraries in mypy_primer:
- apprise
- comtypes
As well as some of the most popular libraries that use both pywin32 and mypy (all over 1k stars on github):
- certbot
- anki
- flexget
- monkey
- twisted
- salt
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-05 22:23:35 +00:00
Avasam
c6b9b4ce85
Stricter settings in mypy_test ( #9294 )
2022-12-02 18:55:55 +00:00
Avasam and Alex Waygood
ee69f6085e
Added complete Xlib stubs ( #9279 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-30 16:10:34 +00:00
Avasam and Alex Waygood
5c3f10e1df
Deduplicate pinned pyright version ( #9299 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-30 08:52:55 +00:00
Avasam
4366ff1e0b
Improve Github syntax highlighting ( #9301 )
2022-11-29 09:19:28 +00:00
Avasam
4a6d277733
Simplify pyrightconfigs by removing redundant keys ( #9293 )
2022-11-28 18:35:35 +00:00
Avasam
087917f2b8
Space out pytype errors ( #9281 )
2022-11-26 01:32:08 +01:00
Avasam and Jelle Zijlstra
be1da49957
Suggestion: SliceableBuffer type alias ( #9115 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-24 20:14:09 -08:00
Avasam
7050c1d907
Add support for Homebrew and Chocolatey ( #9187 )
2022-11-24 07:17:17 +00:00
Avasam
b9491f962b
Add missing symbols in pycurl stubs ( #9207 )
2022-11-21 23:37:14 +00:00
Avasam
41d508472a
Add missing symbols in pyaudio stubs ( #9206 )
...
Split off from #9187
Turned off `ignore_missing_stub` for pyaudio stubs.
Ensured it's valid for Windows and MacOS.
2022-11-16 06:23:08 -08:00
Avasam
7863d53db8
Add missing symbols in JACK-Client stubs ( #9205 )
...
`ignore_missing_stub = false` and completed on Windows & MacOS
2022-11-15 18:14:52 -08:00
Avasam and Alex Waygood
72d1597de2
stubtest_third_party.py: Allow running non-listed platforms locally ( #9173 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-15 01:39:57 +00:00
Avasam
cfed3e1113
Cache pip downloads in CI ( #9192 )
2022-11-15 00:57:20 +00:00
Avasam
ede6387510
Comments explaining why keyboard and tzlocal are not run on multiple platforms ( #9188 )
2022-11-14 11:42:17 +01:00
Avasam
033d21e775
Complete stubtest for aiofiles + fix on Windows ( #9184 )
2022-11-13 06:45:20 -08:00
Avasam
82c0ea7bd5
Run stubtest on Windows for waitress ( #9181 )
2022-11-13 06:42:20 -08:00
Avasam
75a74ffb6c
Run stubtest for psutil on all platforms ( #9169 )
2022-11-12 16:35:14 -08:00
Avasam
c0f96e1ab6
Explain why vobject is not tested on Windows ( #9175 )
...
Specify vobject.win32tz is broken on Windows
2022-11-12 16:23:26 -08:00
Avasam
24277cedf4
Run stubtest on windows for colorama ( #9168 )
2022-11-12 16:14:15 -08:00
Avasam
7fc9b8e2c8
cffi: run stubtest on Windows (#9178 )
2022-11-12 23:56:43 +00:00
Avasam
f033e61ae2
Make the ldap3 stubs platform-agnostic ( #9180 )
2022-11-12 23:53:55 +00:00
Avasam
1724fb3e25
Fix paramiko stubtest on Windows ( #9179 )
2022-11-12 23:52:34 +00:00
Avasam
4bad015bbb
Remove setuptools._distutils.command.bdst_msi ( #9174 )
...
It does not exist
2022-11-12 18:30:56 +00:00
Avasam
14a43b8015
Fix usage of byte2int with bytes ( #9152 )
2022-11-12 10:56:04 +00:00
Samuel T
19169c1646
Update pywin32 to 305 ( #9153 )
2022-11-10 12:30:53 -08:00
Samuel T
796bdc2eb0
Improve accuracy of six byte index methods ( #9117 )
2022-11-09 19:22:33 -08:00
Samuel T
0ac98f6b80
Update pywin32 to mypy 0.990 ( #9124 )
2022-11-09 19:20:56 -08:00