Commit Graph
56 Commits
Author SHA1 Message Date
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
AvasamandAlex 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
AvasamandAlex Waygood ee69f6085e Added complete Xlib stubs (#9279)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-30 16:10:34 +00:00
AvasamandAlex 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
AvasamandJelle 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
AvasamandAlex 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
Samuel T 98dac4c926 pywin32: Improve some types (#9089) 2022-11-04 17:48:53 -07:00
Samuel T a46c48136b pywin32 stubs update (#9040)
boolean methods
win32gui_struct
MonitorFromRect, FindWindow, FindWindowEx, GetWindowPlacement, GetMenuItemRect
2022-10-30 16:04:37 -07:00
Samuel T 8ca0394ead Bump pyinstaller to 5.6.* (#8981) 2022-10-25 06:39:32 -07:00
Samuel T 96af812c07 pywin32: Remove IID that doesn't exist at runtime (#8930)
Remove IID that doesn't exist at runtime
2022-10-19 07:21:19 -07:00
Samuel T c4361674ac Fix issues with finding stubs in scripts/runtest (#8896) 2022-10-13 20:11:23 -07:00
Samuel T 573ee94f35 All scripts/tests: always specify file encoding in calls to open() (#8882) 2022-10-11 22:29:36 +01:00
Samuel T 1d7ace353a Bump PyInstaller-stubs to 5.5 (#8874) 2022-10-10 04:22:55 +01:00
Samuel T 99cb36a784 pywin32: Complete modules using stubgen & stubtest (#8866)
Complete modules using stubgen & stubtest
2022-10-07 18:56:17 +01:00
Samuel TandAlex Waygood e5d52a39d4 Script to run all checks locally (#8798)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-04 07:21:10 -07:00
Samuel T ef4e52df93 PyAutoGUI: Use types from PyScreeze (#8824) 2022-10-03 15:11:42 -07:00
Samuel T 2ded9e190f Add pyscreeze stubs (#8823) 2022-10-03 09:33:15 -07:00
Samuel T 0b71c96970 Add pywin32 type stubs from microsoft/python-type-stubs and mhammond/pywin32 (#8825) 2022-10-03 09:32:43 -07:00
Samuel T f511f1f4e9 Allow create_baseline_stubs.py to add packages to existing stub (#8809) 2022-09-30 15:49:58 +01:00
Samuel T dba47e0cfe Add reportMissingParameterType to pyrightconfig.stricter.json (#8770) 2022-09-21 16:19:09 -07:00
Samuel T d7160ca67c Pyinstaller: use StrPath over StrOrBytesPath (#8780)
Fix incorrect StrOrBytesPath in PyInstaller stubs
Change StrOrBytesPath to StrPath when exclusively used with strings.
2022-09-21 16:09:11 -07:00
Samuel T 6ca80d340e pyright_test.py: Support for npx 8 and pyright PyPI package (#8769) 2022-09-21 15:57:14 +01:00
Samuel T c9346f32e1 Add stubs for PyInstaller (public API only) (#8702) 2022-09-15 13:27:53 +01:00
Samuel T 3ec7b1f2bb Add stubs for D3DShot (#8652) 2022-09-12 18:32:47 +01:00
Samuel TandAlex Waygood 4f2666ba8e Complete pyautogui stubs (#8684)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-09-09 12:34:45 +01:00
Samuel T 939fc86e79 Added stubs for keyboard (#8666) 2022-09-05 14:34:11 -07:00
4c100febcd Add stubs for pyautogui (#8654)
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-09-03 12:45:20 +01:00
Samuel T bfe56cd471 create_baseline_stubs: fix pyright config on windows, write to stubs (#8653) 2022-09-02 14:53:37 -07:00
Samuel T bcb8384e2f Removed outdated mypy exceptions in CONTRIBUTING (#8668)
Closes #8667
2022-09-02 09:09:35 +02:00
Samuel T 2610c5ee37 Create simplejson.errors (#6492) 2021-12-05 12:32:37 +02:00