Skip to content

Commit

Permalink
Updated dependencies and fixed resultant bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
JackAshwell11 committed Dec 13, 2024
1 parent 99802d6 commit 2494d6e
Show file tree
Hide file tree
Showing 5 changed files with 227 additions and 191 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: ssort
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
rev: v0.8.2
rev: v0.8.3
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
Expand All @@ -37,6 +37,6 @@ repos:
hooks:
- id: black
- repo: "https://github.com/pre-commit/mirrors-clang-format"
rev: v19.1.4
rev: v19.1.5
hooks:
- id: clang-format
24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "scikit_build_core.build"
authors = [
{name = "JackAshwell11", email = "[email protected]"}
]
dependencies = ["arcade==3.0.0.dev30"]
dependencies = ["arcade==3.0.0.dev39"]
description = "A procedurally generated bullet bullet-hell dungeon crawler made in Python."
license = {file = "LICENSE"}
name = "hades"
Expand Down Expand Up @@ -185,20 +185,20 @@ cmake.args = ["-GNinja", "-DDO_TESTS=OFF", "--preset LinuxRelease"]

[tool.uv]
dev-dependencies = [
"black==24.8.0",
"mypy==1.11.2",
"nox==2024.4.15",
"nuitka==2.4.7",
"black==24.10.0",
"mypy==1.13.0",
"nox==2024.10.9",
"nuitka==2.5.6",
"ordered-set==4.1.0",
"pre-commit==3.8.0",
"pylint==3.2.6",
"pytest==8.3.2",
"pytest-cov==5.0.0",
"pre-commit==4.0.1",
"pylint==3.3.2",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"pytest-icdiff==0.9",
"pytest-instafail==0.5.0",
"pytest-randomly==3.15.0",
"pytest-randomly==3.16.0",
"pytest-sugar==1.0.0",
"ruff==0.6.2",
"ssort==v0.13.0",
"ruff==0.8.3",
"ssort==v0.14.0",
]
prerelease = "allow"
2 changes: 1 addition & 1 deletion src/hades/sprite.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def description(self: HadesSprite) -> str:
"""
return self.constructor.description

def update(self: HadesSprite) -> None:
def update(self: HadesSprite, *_: tuple[float]) -> None:
"""Update the sprite object."""
self.position = self.registry.get_component(
self.game_object_id,
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ def test_stats_layout_init(stats_layout: StatsLayout) -> None:
assert stats_layout.children[0].text == "Test"
description = stats_layout.children[4]
assert description.text == "Test description"
assert description.label.multiline
assert description.multiline


@pytest.mark.parametrize(
Expand Down
Loading

0 comments on commit 2494d6e

Please sign in to comment.