Skip to content

Commit

Permalink
update packages, run linting (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
circuitsacul authored Jun 19, 2023
1 parent ca3a5ce commit d8aa121
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion hikari_clusters/info_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion hikari_clusters/payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]] = {
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit d8aa121

Please sign in to comment.