https://docs.astral.sh/ty seems to find lots of problems with our Python type hints. ```bash ty check \ --ignore=call-non-callable \ --ignore=deprecated \ --ignore=invalid-argument-type \ --ignore=invalid-assignment \ --ignore=invalid-return-type \ --ignore=invalid-type-arguments \ --ignore=no-matching-overload \ --ignore=not-iterable \ --ignore=not-subscriptable \ --ignore=possibly-missing-submodule \ --ignore=unresolved-attribute \ --ignore=unresolved-import ```
Activity
Add type hints to tim_sort.py, relates to TheAlgorithms#14457
Fix type hints in sorts/tim_sort.py, relates to #14457 (#14474)