Update stubs
This commit is contained in:
parent
2b9e5fa5d0
commit
40cf1297ca
3 changed files with 4 additions and 5 deletions
|
@ -79,4 +79,3 @@ repos:
|
||||||
language: system
|
language: system
|
||||||
types: [python]
|
types: [python]
|
||||||
exclude: tasks.py$
|
exclude: tasks.py$
|
||||||
args: ["--cache-dir=/dev/null"]
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from .result import Result
|
from .result import Result
|
||||||
|
|
||||||
def of_text(text, wpm: int | None = ...) -> Result: ...
|
def of_text(text: str, wpm: int | None = ...) -> Result: ...
|
||||||
def of_html(html, wpm: int | None = ...) -> Result: ...
|
def of_html(html: str, wpm: int | None = ...) -> Result: ...
|
||||||
def of_markdown(markdown, wpm: int | None = ...) -> Result: ...
|
def of_markdown(markdown: str, wpm: int | None = ...) -> Result: ...
|
||||||
|
|
|
@ -11,4 +11,4 @@ class Result:
|
||||||
def minutes(self) -> int: ...
|
def minutes(self) -> int: ...
|
||||||
@property
|
@property
|
||||||
def text(self) -> str: ...
|
def text(self) -> str: ...
|
||||||
def total_seconds(self, delta) -> int: ...
|
def total_seconds(self, delta: timedelta) -> int: ...
|
||||||
|
|
Reference in a new issue