Use lowercase type everywhere (#6853)

This commit is contained in:
Alex Waygood
2022-01-08 15:09:29 +00:00
committed by GitHub
parent f8501d33c7
commit a40d79a4e6
172 changed files with 728 additions and 761 deletions

View File

@@ -2,7 +2,7 @@ import collections
import sys
from _typeshed import Self as Self
from datetime import datetime
from typing import ClassVar, Iterable, Iterator, Type, overload
from typing import ClassVar, Iterable, Iterator, overload
from dateparser import _Settings
from dateparser.conf import Settings
@@ -107,4 +107,4 @@ class DateDataParser:
def _get_applicable_locales(self, date_string: str) -> Iterator[Locale]: ...
def _is_applicable_locale(self, locale: Locale, date_string: str) -> bool: ...
@classmethod
def _get_locale_loader(cls: Type[DateDataParser]) -> LocaleDataLoader: ...
def _get_locale_loader(cls: type[DateDataParser]) -> LocaleDataLoader: ...