Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Rittau de55f7ff87 [assertpy] Remove spurious Iterable from star arguments (#15441) 2026-02-20 12:45:56 +01:00
Emmanuel Ferdman 7f3ec00160 [assertpy] Accept extensions with additional parameters (#15329) 2026-01-27 07:23:56 +01:00
Sebastian Rittau cc53f5497f [assertpy] Replace or explain Anys (#15144) 2025-12-18 18:23:53 +01:00
Allan Lewis a46eea77e3 Correct type of kwargs in assertpy.exception.ExceptionMixin.when_called_with (#13903)
The keys of `kwargs` dicts are always strings, the type hint is for the values,
which in this case could be anything.
2025-05-01 16:47:53 +02:00
Semyon Moroz 2b7019b933 Mark internal stuff in allowlist for assertpy (#13802)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-04-06 10:10:19 -07:00
BJ Hargrave f6eb38bddd Update assertpy/string.pyi to correct type of pattern arg (#12235)
The methods requires the pattern arg to be of type str, not Pattern.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
2024-07-11 17:16:10 -07:00
BJ Hargrave 1f8c439ceb Update assertpy/extracting.pyi so that kwargs are not required (#12229)
The recent change to better type the `sort` and `filter` kwargs had the
side effect of making them required. So we fix to supply a default
argument.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
2024-07-02 12:20:50 -07:00
BJ Hargrave 82199768bf assertpy: improve type for extracting (#12224)
Signed-off-by: BJ Hargrave <bj@hargrave.dev>
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
2024-06-26 14:22:32 -07:00
Raphael Castro 5079dc1d9e Add stubs for assertpy (#11916) 2024-05-15 14:56:43 -04:00