diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0907cb06..6426292a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.278 + rev: v0.0.281 hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] \ No newline at end of file diff --git a/tools/plot_simple_map.py b/tools/plot_simple_map.py index 2aaebc93..c445b3ef 100644 --- a/tools/plot_simple_map.py +++ b/tools/plot_simple_map.py @@ -3293,9 +3293,10 @@ def get_actor_name_for_node(node: dict) -> str: return node["extra"][variable] -def decode_world(root: Path, target_level: str, out_path: Path, only_update_existing_areas: bool = True, - skip_existing_actors: bool = True): # ruff: noqa: C901 - +def decode_world( # noqa: C901 + root: Path, target_level: str, out_path: Path, only_update_existing_areas: bool = True, + skip_existing_actors: bool = True +): global pickup_index, bmscc, brsa, brfld, brfld_path all_names = dread_data.all_asset_id_to_name() game = Game.DREAD