Pēteris Caune
66d482c4af
Disable a type warning related to statsd having no type hints yet
...
python-statsd does have a PR for adding type hints, so
hopefully this is temporary.
2024-05-01 11:39:20 +03:00
Pēteris Caune
ae94648efd
Fix minio-related mypy warnings
...
A few warnings remain, I think these should be fixed in minio-py:
https://github.com/minio/minio-py/pull/1389
2024-01-04 16:01:34 +02:00
Pēteris Caune
1ab0e8e270
Enable type hint checking for the oncalendar package
2023-12-06 15:57:01 +02:00
Pēteris Caune
d65f41d192
Add support for systemd's OnCalendar schedules
...
(work-in-progress)
cc: #919
2023-12-06 15:42:57 +02:00
Pēteris Caune
8f28d26b0b
Remove Unpack from mypy.ini (now enabled by default)
2023-11-21 17:10:26 +02:00
Pēteris Caune
52ab8c4703
Improve type hints in hc.lib.curl and hc.api.transports
...
This results in changes in other places too:
* curl.post() does not accept `data` as positional arg,
it must now be a keyword argument
* we need asserts and if clauses in a few places to make sure
we are not passing `None` in the arguments to hc.lib.curl.request
2023-10-20 19:11:08 +03:00
Pēteris Caune
0aa21d5ac8
Update mypy.ini, remove a few "ignore_missing_imports"
...
fido2, apprise, braintree, urllib3 now have type hints,
so don't need "ignore_missing_imports" in mypy.ini any more, nice!
2023-10-18 16:56:58 +03:00
Pēteris Caune
ab3dad4ecc
Fix type annotations in tests to use _MonkeyPatchedWSGIResponse
2023-08-29 22:35:51 +03:00
Pēteris Caune
216fe3e7af
Add mypy.ini
2023-08-03 10:28:05 +03:00