Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion matrix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A simple, developer-friendly library to create powerful Matrix bots."""

__version__ = "1.0.3-alpha"
__version__ = "1.0.4-alpha"

from .bot import Bot
from .group import Group
Expand Down
1 change: 0 additions & 1 deletion matrix/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
CheckError,
)


Callback = Callable[..., Coroutine[Any, Any, Any]]
GroupCallable = Callable[[Callable[..., Coroutine[Any, Any, Any]]], Group]
ErrorCallback = Callable[[Exception], Coroutine]
Expand Down
2 changes: 1 addition & 1 deletion matrix/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def cooldown(rate: int, period: float) -> Callable:
:type period: float
"""

def wrapper(cmd: Command) -> Command:
def wrapper(cmd: "Command") -> "Command":
cmd.set_cooldown(rate, period)
return cmd

Expand Down
1 change: 0 additions & 1 deletion matrix/help/pagination.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Optional, List, TypeVar, Generic


T = TypeVar("T")


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=64", "setuptools_scm>=8"]

[project]
name = "matrix-python"
version = "1.0.3-alpha"
version = "1.0.4-alpha"
authors = [
{ name="Simon Roy" },
{ name=" Chris Dedman Rollet " }
Expand Down Expand Up @@ -41,4 +41,4 @@ dev = [

[tool.setuptools]
packages = ["matrix"]
license-files = []
license-files = []