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 6, 2023
1 parent 629fdc1 commit ed582b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/mercury_engine_data_structures/formats/bmsmd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import functools

from construct.core import (
Array,
Const,
Expand Down Expand Up @@ -45,4 +46,4 @@ class Bmsmd(BaseResource):
@classmethod
@functools.lru_cache
def construct_class(cls, target_game: Game) -> Construct:
return BMSMD
return BMSMD

Check warning on line 49 in src/mercury_engine_data_structures/formats/bmsmd.py

View check run for this annotation

Codecov / codecov/patch

src/mercury_engine_data_structures/formats/bmsmd.py#L49

Added line #L49 was not covered by tests
2 changes: 1 addition & 1 deletion tests/formats/test_bmsmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def test_bmsmd(samus_returns_path):
file_path = samus_returns_path.joinpath("gui\minimaps\c10_samus.bmsmd")
file_path = samus_returns_path.joinpath(r"gui\minimaps\c10_samus.bmsmd")
parse_and_build_compare(
Bmsmd, Game.SAMUS_RETURNS, file_path
)

0 comments on commit ed582b7

Please sign in to comment.