Remove tzlocal stubs (#11674)

This commit is contained in:
Nikita Sobolev
2024-04-14 17:35:11 +03:00
committed by GitHub
parent d3aa08188f
commit 1df875b529
5 changed files with 0 additions and 26 deletions

View File

@@ -1,6 +0,0 @@
# Implementation details
tzlocal.unix
tzlocal.win32
# Internal stuff:
tzlocal.utils.log

View File

@@ -1,4 +0,0 @@
version = "5.1"
upstream_repository = "https://github.com/regebro/tzlocal"
requires = ["types-pytz"]
obsolete_since = "5.2" # Released on 2023-10-22

View File

@@ -1,8 +0,0 @@
from pytz import BaseTzInfo
from tzlocal.utils import assert_tz_offset
__all__ = ["get_localzone", "get_localzone_name", "reload_localzone", "assert_tz_offset"]
def reload_localzone() -> None: ...
def get_localzone() -> BaseTzInfo: ...
def get_localzone_name() -> str: ...

View File

@@ -1,4 +0,0 @@
import datetime
def get_tz_offset(tz: datetime.tzinfo) -> int: ...
def assert_tz_offset(tz: datetime.tzinfo, error: bool = True) -> None: ...

View File

@@ -1,4 +0,0 @@
# Auto-generated for tzlocal.win32. But some libraries use it to get the mappings directly
win_tz: dict[str, str]
tz_names: dict[str, str]
tz_win: dict[str, str]