mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-21 07:30:28 +08:00
Remove python-datemath stubs (#14329)
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
version = "3.0.1"
|
||||
upstream_repository = "https://github.com/nickmaccarthy/python-datemath"
|
||||
# Requires a version of arrow with a `py.typed` file
|
||||
requires = ["arrow>=1.0.1"]
|
||||
obsolete_since = "3.0.2" # Released on 2024-09-11
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = true
|
||||
@@ -1,12 +0,0 @@
|
||||
from datetime import datetime
|
||||
|
||||
import arrow
|
||||
|
||||
from .helpers import DateMathException as DateMathException, parse as parse
|
||||
|
||||
def dm(
|
||||
expr: str, *, now: arrow.Arrow | None = ..., tz: str = ..., type: str | None = ..., roundDown: bool = ...
|
||||
) -> arrow.Arrow: ...
|
||||
def datemath(
|
||||
expr: str, *, now: arrow.Arrow | None = ..., tz: str = ..., type: str | None = ..., roundDown: bool = ...
|
||||
) -> datetime: ...
|
||||
@@ -1,8 +0,0 @@
|
||||
import arrow
|
||||
|
||||
class DateMathException(Exception): ...
|
||||
|
||||
def parse(
|
||||
expression: str, now: arrow.Arrow | None = None, tz: str = "UTC", type: str | None = None, roundDown: bool = True
|
||||
) -> arrow.Arrow: ...
|
||||
def __getattr__(name: str): ... # incomplete module
|
||||
Reference in New Issue
Block a user