mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Remove tzlocal from pyright's exclude (#8969)
This commit is contained in:
@@ -78,7 +78,6 @@
|
||||
"stubs/stripe",
|
||||
"stubs/tqdm",
|
||||
"stubs/tree-sitter",
|
||||
"stubs/tzlocal/tzlocal/utils.pyi",
|
||||
"stubs/ttkthemes",
|
||||
"stubs/urllib3",
|
||||
"stubs/vobject"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import datetime
|
||||
import sys
|
||||
|
||||
import pytz
|
||||
@@ -10,6 +11,6 @@ if sys.version_info >= (3, 9):
|
||||
else:
|
||||
class ZoneInfoNotFoundError(pytz.UnknownTimeZoneError): ...
|
||||
|
||||
def get_system_offset(): ...
|
||||
def get_tz_offset(tz): ...
|
||||
def assert_tz_offset(tz) -> None: ...
|
||||
def get_system_offset() -> int: ...
|
||||
def get_tz_offset(tz: datetime.tzinfo) -> int: ...
|
||||
def assert_tz_offset(tz: datetime.tzinfo) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user