diff --git a/src/mercury_engine_data_structures/formats/__init__.py b/src/mercury_engine_data_structures/formats/__init__.py index 52a8de5d..40b95070 100644 --- a/src/mercury_engine_data_structures/formats/__init__.py +++ b/src/mercury_engine_data_structures/formats/__init__.py @@ -8,10 +8,10 @@ from mercury_engine_data_structures.formats.bmmdef import Bmmdef from mercury_engine_data_structures.formats.bmsad import Bmsad from mercury_engine_data_structures.formats.bmsas import Bmsas -from mercury_engine_data_structures.formats.bmses import Bmses from mercury_engine_data_structures.formats.bmsbk import Bmsbk from mercury_engine_data_structures.formats.bmscc import Bmscc from mercury_engine_data_structures.formats.bmscu import Bmscu +from mercury_engine_data_structures.formats.bmses import Bmses from mercury_engine_data_structures.formats.bmsld import Bmsld from mercury_engine_data_structures.formats.bmslgroup import Bmslgroup from mercury_engine_data_structures.formats.bmslink import Bmslink diff --git a/src/mercury_engine_data_structures/formats/bmses.py b/src/mercury_engine_data_structures/formats/bmses.py index 00338748..1db26b23 100644 --- a/src/mercury_engine_data_structures/formats/bmses.py +++ b/src/mercury_engine_data_structures/formats/bmses.py @@ -1,12 +1,13 @@ import functools + import construct from construct.core import ( Const, Construct, Float32l, Hex, - Int32ul, Int32sl, + Int32ul, Struct, ) @@ -14,7 +15,6 @@ from mercury_engine_data_structures.formats import BaseResource from mercury_engine_data_structures.game_check import Game - BMSES = Struct( "magic" / Const(b"MSES"), "version" / Hex(Int32ul), @@ -43,4 +43,4 @@ class Bmses(BaseResource): @classmethod @functools.lru_cache def construct_class(cls, target_game: Game) -> Construct: - return BMSES \ No newline at end of file + return BMSES diff --git a/tests/formats/test_bmses.py b/tests/formats/test_bmses.py index 6a99b5e8..880d6851 100644 --- a/tests/formats/test_bmses.py +++ b/tests/formats/test_bmses.py @@ -10,4 +10,4 @@ @pytest.mark.parametrize("bmses_path", all_sr_bmses) def test_bmses(samus_returns_tree, bmses_path): - parse_build_compare_editor(Bmses, samus_returns_tree, bmses_path) \ No newline at end of file + parse_build_compare_editor(Bmses, samus_returns_tree, bmses_path)