Remove python-datemath stubs (#14329)

This commit is contained in:
Marco Edward Gorelli
2025-06-23 10:41:56 -07:00
committed by GitHub
parent 97d0c89618
commit 2669de5896
3 changed files with 0 additions and 28 deletions
-8
View File
@@ -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