Alex Waygood
af884b236b
Add defaults for third-party stubs I-L ( #9955 )
2023-03-27 19:19:55 +02:00
Andy Freeland
f53d0737f2
invoke: Update Context.cd() to accept a pathlib.Path or a string ( #9823 )
2023-02-27 18:11:48 +00:00
Avasam
52ec44fa58
Improve many __(a)exit__ annotations ( #9696 )
2023-02-25 21:50:30 +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
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
Alex Waygood
60789273a2
Improve pyright verification of third-party test cases in CI ( #9650 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-02-07 11:53:54 +00:00
Alex Waygood
191afbc559
Update invoke stubs to 2.0.* ( #9669 )
2023-02-06 06:54:21 -08:00
Avasam
23ac9bff19
Check for unused pyright: ignore and differentiate from mypy ignores ( #9397 )
2022-12-28 10:44:29 +00:00
kasium
680d8857d7
Add Call object support for invoke tasks ( #8916 )
2022-11-24 20:34:50 -08:00
Alex Waygood
01e78c7e81
Use modern syntax in test-case files where possible ( #9261 )
2022-11-23 11:58:11 -08:00
Nikita Sobolev
18e2ae762b
Mark first argument of __[get|set|del]attr__ as str ( #9245 )
2022-11-22 11:06:50 +00:00
Nikita Sobolev
62a6c3d616
Annotate known magic-method return types ( #9131 )
2022-11-08 18:28:42 +00:00
Nikita Sobolev
c0e9038f0d
Fix and allow classes with missing metaclasses ( #9136 )
2022-11-08 18:13:59 +00:00
Alex Waygood
dc7fdc6f5d
Fix invoke regression ( #8950 )
...
* Fix `invoke` regression
2022-10-21 18:04:22 +01:00
kasium
2519a2a686
Add types to invoke.Task.__call__ ( #8918 )
2022-10-19 12:30:35 +01:00
Nikita Sobolev
6950c32370
Add parser to invoke.completion.complete.complete ( #8819 )
...
Closes https://github.com/python/typeshed/issues/8818
2022-10-01 12:52:39 -07:00
kasium
b92286982d
Add types to invoke.Runner.run ( #8279 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2022-07-13 09:29:45 +01:00
Alex Waygood
8ef6602e25
Third-party stubs: audit more Callable[<parameters>, Any] annotations ( #8233 )
2022-07-04 10:29:47 +02:00
Alex Waygood
89f4dee452
Improve several __hash__ methods ( #8128 )
2022-06-22 11:58:00 +01:00
Shantanu
432fc3ff00
Bump invoke to 1.7.* ( #8111 )
2022-06-20 21:06:53 -07:00
Jelle Zijlstra
070e6c2a2d
invoke: Fix unconstrained TypeVar ( #7943 )
...
Part of #7928
f34c6c9413/invoke/tasks.py (L328)
2022-05-25 06:48:49 +01:00
kasium
92c578546a
Improve types of invoke/env.pyi ( #7780 )
2022-05-05 07:12:51 +01:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
kasium
dd1265c0e6
Mark pre/post tasks in invoke tasks as iterable ( #7531 )
2022-03-22 16:06:22 +01:00
kasium
108c3ab710
Fix wrong return type of invoke decorator ( #7536 )
...
Closes #7530
2022-03-22 14:30:51 +01:00
kasium
7d77e9c5c1
Fix invoke task decorator ( #7511 )
...
The decorator can be called with and without (). The current types only consider the first case
2022-03-20 16:13:02 -07:00
kasium
061ddad8e3
Add annotations to invoke.tasks ( #7502 )
2022-03-17 11:13:03 +01:00
Alex Waygood
494481a0ae
Improve a bunch of __(deep)copy__ methods ( #7148 )
2022-02-06 15:40:44 -08:00
Alex Waygood
45a2dad83c
Reduce use of Any in equality methods ( #7081 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-01-30 00:59:00 +02:00
kasium
2bf7458091
Add stubs for invoke ( #6938 )
2022-01-21 20:44:26 -08:00