Skip to content

Commit

Permalink
fix: pylint suggestions for vizdoom template
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 11, 2024
1 parent 3b7d091 commit 276c921
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doom_creator/util/_templates/vizdoom.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def config(scenario_name):
return """\
return f"""\
doom_scenario_path = {scenario_name}.zip
living_reward = 0.0
Expand Down Expand Up @@ -32,6 +32,4 @@ def config(scenario_name):
available_game_variables = {{ HEALTH }}
mode = PLAYER
""".format(
scenario_name=scenario_name
)
"""

0 comments on commit 276c921

Please sign in to comment.