Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #143

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ default_language_version:

repos:
- repo: "https://github.com/PyCQA/pylint"
rev: v3.0.0a6
rev: v3.0.1
hooks:
- id: pylint
- repo: "https://github.com/bwhmather/ssort"
rev: v0.11.6
hooks:
- id: ssort
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
rev: v0.0.284
rev: v0.1.3
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
- repo: "https://github.com/pre-commit/mirrors-mypy"
rev: v1.5.0
rev: v1.6.1
hooks:
- id: mypy
additional_dependencies: ["arcade==3.0.0.dev24", "pytest==7.4.0"]
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-json
- id: check-toml
Expand All @@ -33,6 +33,6 @@ repos:
args: ["--autofix"]
- id: trailing-whitespace
- repo: "https://github.com/psf/black"
rev: 23.7.0
rev: 23.10.1
hooks:
- id: black
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages various building/compiling operations on the game."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stores all the functionality which creates the game and makes it playable."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Allows the game to be run from the command line."""

from __future__ import annotations

# Custom
Expand Down
1 change: 1 addition & 0 deletions src/hades/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stores constants relating to the game and its functionality."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Contains the functionality which manages the game objects."""

from __future__ import annotations
1 change: 1 addition & 0 deletions src/hades/game_objects/attacks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the different attack algorithms available."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/attributes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the different game object attributes available."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stores the foundations for the entity component system and its functionality."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/components.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages various components available to the game objects."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/constructors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stores all the constructors used to make the game objects."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/movements.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the different movement algorithms available to the game objects."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/game_objects/system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the entity component system and its processes."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/physics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the physics using an abstracted version of the Pymunk physics engine."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/sprite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manages the operations related to the sprite object."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/textures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Handles loading and storage of textures needed by the game."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/views/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Contains the functionality that allows the user to play the game."""

from __future__ import annotations
1 change: 1 addition & 0 deletions src/hades/views/game.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Initialises and manages the main game."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/views/inventory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Displays the player's inventory graphically."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/views/shop.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Creates a shop for upgrades and special attributes/items."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/views/start_menu.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Creates a start menu so the player can change their settings or game mode."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions src/hades/window.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Acts as the entry point to the game by creating and initialising the window."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_attacks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/attacks.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_attributes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/attributes.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/base.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_components.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/components.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_movements.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/movements.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/game_objects/test_system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in game_objects/system.py."""

from __future__ import annotations

# Builtin
Expand Down
1 change: 1 addition & 0 deletions tests/test_textures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests all functions in textures.py."""

from __future__ import annotations

# Pip
Expand Down
Loading