Skip to content

Commit

Permalink
Merge pull request #42 from randovania/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
henriquegemignani committed Aug 1, 2023
2 parents b3d8c2f + 0b8ce36 commit ae2f8c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
7 changes: 4 additions & 3 deletions tools/plot_simple_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae2f8c9

Please sign in to comment.