diff --git a/hikari_clusters/info_classes.py b/hikari_clusters/info_classes.py index f93204d..2c66e9b 100644 --- a/hikari_clusters/info_classes.py +++ b/hikari_clusters/info_classes.py @@ -24,7 +24,7 @@ def __init_subclass__(cls) -> None: def asdict(self) -> dict[str, Any]: """Convert this info class to a dictionary.""" - dct = asdict(self) + dct: dict[str, Any] = asdict(self) # type: ignore dct["_info_class_id"] = self._info_class_id return dct diff --git a/hikari_clusters/payload.py b/hikari_clusters/payload.py index 5b17021..286bf0d 100644 --- a/hikari_clusters/payload.py +++ b/hikari_clusters/payload.py @@ -110,7 +110,7 @@ class ResponseNotFound: PAYLOAD_DATA = Union[ - Command, Event, ResponseOk, ResponseTraceback, ResponseNotFound, + Command, Event, ResponseOk, ResponseTraceback, ResponseNotFound ] OPCODES: dict[int, Type[PAYLOAD_DATA]] = { diff --git a/pyproject.toml b/pyproject.toml index 29fb277..fa4ca27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,18 +15,18 @@ documentation = "https://github.com/TrigonDev/hikari-clusters/wiki" keywords = ["hikari", "discord", "clustering", "bot", "ipc"] [tool.poetry.dependencies] -python = ">=3.8.0,<3.11" +python = ">=3.8.0,<3.12" hikari = "^2.0.0.dev105" -websockets = "^10.1" +websockets = "^11.0" pytest-cov = ">=3,<5" -[tool.poetry.dev-dependencies] -black = "^22.1" -isort = "^5.9.3" -mypy = "^0.991" +[tool.poetry.group.dev.dependencies] +black = "^23.3.0" +isort = "^5.12.0" +mypy = "^1.3.0" flake8 = "^5.0.4" -pytest = "^7.0.0" -nox = "^2022.1.7" +pytest = "^7.3.2" +nox = "^2023.4.22" [build-system] requires = ["poetry-core>=1.0.0"]