Skip to content

Commit d8aa121

Browse files
authored
update packages, run linting (#68)
1 parent ca3a5ce commit d8aa121

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

hikari_clusters/info_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init_subclass__(cls) -> None:
2424
def asdict(self) -> dict[str, Any]:
2525
"""Convert this info class to a dictionary."""
2626

27-
dct = asdict(self)
27+
dct: dict[str, Any] = asdict(self) # type: ignore
2828
dct["_info_class_id"] = self._info_class_id
2929
return dct
3030

hikari_clusters/payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ResponseNotFound:
110110

111111

112112
PAYLOAD_DATA = Union[
113-
Command, Event, ResponseOk, ResponseTraceback, ResponseNotFound,
113+
Command, Event, ResponseOk, ResponseTraceback, ResponseNotFound
114114
]
115115

116116
OPCODES: dict[int, Type[PAYLOAD_DATA]] = {

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ documentation = "https://github.com/TrigonDev/hikari-clusters/wiki"
1515
keywords = ["hikari", "discord", "clustering", "bot", "ipc"]
1616

1717
[tool.poetry.dependencies]
18-
python = ">=3.8.0,<3.11"
18+
python = ">=3.8.0,<3.12"
1919
hikari = "^2.0.0.dev105"
20-
websockets = "^10.1"
20+
websockets = "^11.0"
2121
pytest-cov = ">=3,<5"
2222

23-
[tool.poetry.dev-dependencies]
24-
black = "^22.1"
25-
isort = "^5.9.3"
26-
mypy = "^0.991"
23+
[tool.poetry.group.dev.dependencies]
24+
black = "^23.3.0"
25+
isort = "^5.12.0"
26+
mypy = "^1.3.0"
2727
flake8 = "^5.0.4"
28-
pytest = "^7.0.0"
29-
nox = "^2022.1.7"
28+
pytest = "^7.3.2"
29+
nox = "^2023.4.22"
3030

3131
[build-system]
3232
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)