Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: fix-byte-order-marker
- id: detect-private-key
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 1 addition & 0 deletions g.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module stores globally mutable variables used by this program."""

from __future__ import annotations

import tcod.context
Expand Down
1 change: 1 addition & 0 deletions game/components.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection of common components."""

from __future__ import annotations

from typing import Final, Self
Expand Down
1 change: 1 addition & 0 deletions game/state.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base classes for states."""

from __future__ import annotations

from typing import Protocol, TypeAlias
Expand Down
1 change: 1 addition & 0 deletions game/state_tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""State handling functions."""

from __future__ import annotations

import tcod.console
Expand Down
1 change: 1 addition & 0 deletions game/states.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A collection of game states."""

from __future__ import annotations

from collections.abc import Callable
Expand Down
1 change: 1 addition & 0 deletions game/tags.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection of common tags."""

from __future__ import annotations

from typing import Final
Expand Down
1 change: 1 addition & 0 deletions game/world_tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for working with worlds."""

from __future__ import annotations

from random import Random
Expand Down
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
"""Main entry-point module. This script is used to start the program."""

from __future__ import annotations

import tcod.console
Expand Down