Commit Graph

24 Commits

Author SHA1 Message Date
Sebastian Rittau
eee28ad90f [python-xlib] Use a protocol for PIL.Image.Image argument (#11722) 2024-04-06 20:15:59 +02:00
Sebastian Rittau
c0a44be33f Depend on Pillow instead of types-Pillow (#11720) 2024-04-05 13:30:27 +02:00
Avasam
04d41675ef python-xlib: use _typeshed.Unused (#11691) 2024-04-01 15:31:32 +01:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Alex Waygood
16933b838e Bump mypy (and a few other test dependencies) (#11196) 2023-12-21 22:57:58 +00:00
Avasam
4687faab8e Use ConvertibleToInt/ConvertibleToFloat in many third-party stubs (#11022)
Note: this may make the latest version of certain stubs packages incompatible with older versions of mypy and pyright.
2023-11-29 11:23:00 +00:00
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood
2279886964 Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] (#10039) 2023-04-13 11:34:53 +02:00
Alex Waygood
47ce3cb8db Xlib: Use bool for parameters where the default is False (#9990) 2023-03-30 15:05:22 +01:00
Avasam
24db0692c6 Add more default values to python-xlib (#9960) 2023-03-27 19:47:55 +01:00
Avasam
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
Alex Waygood
1d2ae2598b Fix some typos in comments (#9802) 2023-02-23 22:11:24 +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
372073d35b Use _typeshed.FileDescriptorOrPath in stubs (#9695) 2023-02-09 08:30:19 +01:00
Alex Waygood
0ef9c3f8e8 Enable flake8-pyi's Y037 (#9686) 2023-02-06 19:01:02 -08:00
Alex Waygood
efee70abfa Bump mypy to 1.0 (#9684) 2023-02-06 15:57:17 -08:00
Rodrigo Silva
05eadf5cd8 python-xlib: remove workaround for pytype (#9590) 2023-01-25 17:09:18 -08:00
Alex Waygood
c8c5953aa0 Xlib: Import Pattern from re, not typing (#9544)
Refs https://github.com/PyCQA/flake8-pyi/pull/324
2023-01-16 10:09:06 +00:00
Avasam
c45999d905 Re-enable NQA102 (#9426)
re-enable NQA102
2023-01-02 23:49:02 +00:00
Avasam
07f587dc70 Bump python-xlib to 0.33 (#9420) 2022-12-27 20:07:12 -08:00
Alex Waygood
40bfc266f7 3rd-party stubtest: run on Python 3.10 (#9342) 2022-12-07 20:25:57 +00:00
Avasam
ee69f6085e Added complete Xlib stubs (#9279)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-30 16:10:34 +00:00