Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 5, 2023
1 parent a337357 commit 12d2893
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/mercury_engine_data_structures/formats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/mercury_engine_data_structures/formats/bmses.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import functools

import construct
from construct.core import (
Const,
Construct,
Float32l,
Hex,
Int32ul,
Int32sl,
Int32ul,
Struct,
)

from mercury_engine_data_structures.common_types import CVector3D, StrId, make_vector
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),
Expand Down Expand Up @@ -43,4 +43,4 @@ class Bmses(BaseResource):
@classmethod
@functools.lru_cache
def construct_class(cls, target_game: Game) -> Construct:
return BMSES
return BMSES
2 changes: 1 addition & 1 deletion tests/formats/test_bmses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
parse_build_compare_editor(Bmses, samus_returns_tree, bmses_path)

0 comments on commit 12d2893

Please sign in to comment.