Update stubs

This commit is contained in:
Gabriel Augendre 2021-12-29 16:24:22 +01:00
parent 2b9e5fa5d0
commit 40cf1297ca
3 changed files with 4 additions and 5 deletions

View file

@ -79,4 +79,3 @@ repos:
language: system
types: [python]
exclude: tasks.py$
args: ["--cache-dir=/dev/null"]

View file

@ -1,5 +1,5 @@
from .result import Result
def of_text(text, wpm: int | None = ...) -> Result: ...
def of_html(html, wpm: int | None = ...) -> Result: ...
def of_markdown(markdown, wpm: int | None = ...) -> Result: ...
def of_text(text: str, wpm: int | None = ...) -> Result: ...
def of_html(html: str, wpm: int | None = ...) -> Result: ...
def of_markdown(markdown: str, wpm: int | None = ...) -> Result: ...

View file

@ -11,4 +11,4 @@ class Result:
def minutes(self) -> int: ...
@property
def text(self) -> str: ...
def total_seconds(self, delta) -> int: ...
def total_seconds(self, delta: timedelta) -> int: ...