Skip to content

Commit

Permalink
Lint code and update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
SolventMercury committed Jan 1, 2022
1 parent 669acd6 commit e14bab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = SuperDuperMetroid
version = 1.2.0
version = 2.0.0
author = Samuel Roy
description = A Super Metroid patching utility
long_description = file: README.md
Expand Down
10 changes: 5 additions & 5 deletions src/SuperDuperMetroid/ROM_Patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ def __init__(self, item_name, gfx_offset, palette_bytes=None):
class PickupPlacementData:
def __init__(
self,
quantity_given = 0,
pickup_index = -1,
item_name = "No Item",
quantity_given=0,
pickup_index=-1,
item_name="No Item",
pickup_effect="No Effect",
native_graphics=True,
owner_name=None,
Expand Down Expand Up @@ -1225,9 +1225,9 @@ def patch_rom_json(rom_file_path, json_string):
if "skip_intro" in patch_list:
patch_list.remove("skip_intro")
keyword_arguments["skip_intro"] = True

keyword_arguments["static_patches"] = patch_list

patch_rom(rom_file_path, item_list, None, None, **keyword_arguments)


Expand Down

0 comments on commit e14bab8

Please sign in to comment.