Add return typehints to magic methods

This commit is contained in:
Julian Stirling 2025-08-27 14:04:25 +01:00
parent 4c46330959
commit 2ce49088e7
17 changed files with 41 additions and 34 deletions

View file

@ -78,7 +78,7 @@ class ErrorCapturingThread(Thread):
kwargs: Optional[dict[str, Any]] = None,
*,
daemon: Optional[bool] = None,
):
) -> None:
"""Initialise with the same arguments as Thread."""
# As all inputs are keywords we need to set the default values for args and kwargs:
if args is None: