Fixing type hints

This commit is contained in:
Margaret 2023-08-12 15:50:46 +03:00 committed by GitHub
parent 4eccaec9ff
commit 48e0f35676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ def split_list(
ValueError: Timings must be a list of numbers
"""
valid_timings: list[int, float] = []
valid_timings: list[int | float] = []
for current_element in timings:
if (
isinstance(current_element, str)