From 646dda4f56e444b49c066a6dc5d25123c91f1edf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 21:02:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/retro_data_structures/crc.py | 1 + src/retro_data_structures/formats/ancs.py | 1 + src/retro_data_structures/formats/char.py | 1 + src/retro_data_structures/formats/guid.py | 1 + src/retro_data_structures/formats/mlvl.py | 1 + src/retro_data_structures/formats/mrea.py | 1 + src/retro_data_structures/formats/pas_database.py | 1 + src/retro_data_structures/formats/sand.py | 1 + src/retro_data_structures/formats/scan.py | 1 + src/retro_data_structures/formats/strg.py | 1 + src/retro_data_structures/formats/txtr.py | 1 + src/retro_data_structures/game_check.py | 1 + 12 files changed, 12 insertions(+) diff --git a/src/retro_data_structures/crc.py b/src/retro_data_structures/crc.py index 8699ba4..2b6a4b8 100644 --- a/src/retro_data_structures/crc.py +++ b/src/retro_data_structures/crc.py @@ -1,6 +1,7 @@ """ Module for calculating CRC hashes with the algorithm and data used by Retro. """ + from __future__ import annotations _crc32_constants = [ diff --git a/src/retro_data_structures/formats/ancs.py b/src/retro_data_structures/formats/ancs.py index 81c8a37..0be9f87 100644 --- a/src/retro_data_structures/formats/ancs.py +++ b/src/retro_data_structures/formats/ancs.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/ANCS_(File_Format) """ + from __future__ import annotations import typing diff --git a/src/retro_data_structures/formats/char.py b/src/retro_data_structures/formats/char.py index 46e0207..52a339f 100644 --- a/src/retro_data_structures/formats/char.py +++ b/src/retro_data_structures/formats/char.py @@ -3,6 +3,7 @@ To Do: DKCR CHAR Format """ + from __future__ import annotations import typing diff --git a/src/retro_data_structures/formats/guid.py b/src/retro_data_structures/formats/guid.py index abb8d85..81979d1 100644 --- a/src/retro_data_structures/formats/guid.py +++ b/src/retro_data_structures/formats/guid.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/GUID """ + from __future__ import annotations from construct import Array, Int64ub diff --git a/src/retro_data_structures/formats/mlvl.py b/src/retro_data_structures/formats/mlvl.py index 22e6072..d7fba62 100644 --- a/src/retro_data_structures/formats/mlvl.py +++ b/src/retro_data_structures/formats/mlvl.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/MLVL_(File_Format) """ + from __future__ import annotations import itertools diff --git a/src/retro_data_structures/formats/mrea.py b/src/retro_data_structures/formats/mrea.py index 06abe15..c9bee1f 100644 --- a/src/retro_data_structures/formats/mrea.py +++ b/src/retro_data_structures/formats/mrea.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/MREA_(Metroid_Prime_2) """ + from __future__ import annotations import copy diff --git a/src/retro_data_structures/formats/pas_database.py b/src/retro_data_structures/formats/pas_database.py index 638e126..b55e4b1 100644 --- a/src/retro_data_structures/formats/pas_database.py +++ b/src/retro_data_structures/formats/pas_database.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/PAS_Database """ + from __future__ import annotations import enum diff --git a/src/retro_data_structures/formats/sand.py b/src/retro_data_structures/formats/sand.py index 4d3c213..9ebbf1c 100644 --- a/src/retro_data_structures/formats/sand.py +++ b/src/retro_data_structures/formats/sand.py @@ -1,6 +1,7 @@ """ Wiki: https://wiki.axiodl.com/w/SAND_(File_Format) """ + from __future__ import annotations import typing diff --git a/src/retro_data_structures/formats/scan.py b/src/retro_data_structures/formats/scan.py index 4fd1c8e..3b2b01b 100644 --- a/src/retro_data_structures/formats/scan.py +++ b/src/retro_data_structures/formats/scan.py @@ -1,6 +1,7 @@ """ https://wiki.axiodl.com/w/SCAN_(File_Format) """ + from __future__ import annotations import logging diff --git a/src/retro_data_structures/formats/strg.py b/src/retro_data_structures/formats/strg.py index 13a238e..4271d2a 100644 --- a/src/retro_data_structures/formats/strg.py +++ b/src/retro_data_structures/formats/strg.py @@ -1,6 +1,7 @@ """ https://wiki.axiodl.com/w/STRG_(File_Format) """ + from __future__ import annotations import re diff --git a/src/retro_data_structures/formats/txtr.py b/src/retro_data_structures/formats/txtr.py index 3d34410..a226aa1 100644 --- a/src/retro_data_structures/formats/txtr.py +++ b/src/retro_data_structures/formats/txtr.py @@ -1,6 +1,7 @@ """ https://wiki.axiodl.com/w/TXTR_(File_Format) """ + from __future__ import annotations import enum diff --git a/src/retro_data_structures/game_check.py b/src/retro_data_structures/game_check.py index 5bca599..d8474e9 100644 --- a/src/retro_data_structures/game_check.py +++ b/src/retro_data_structures/game_check.py @@ -1,6 +1,7 @@ """ For checking which game is being parsed """ + from __future__ import annotations import typing