Skip to content

Commit

Permalink
Bump flake8+black in precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Nov 16, 2023
1 parent 1aa8127 commit f730193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: detect-private-key
- id: debug-statements
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args:
Expand All @@ -40,7 +40,7 @@ repos:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/python/black
rev: 23.1.0
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/asottile/add-trailing-comma
Expand Down
6 changes: 1 addition & 5 deletions retro/testing/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,7 @@ def verify_scenario(game, inttype, scenario="scenario", raw=None, dataraw=None):
warnings.append((file, f"missing reward in rewards[{i:d}]"))
elif "variables" in r and "script" in r:
warnings.append(
(
file,
f"both variables and script present in rewards[{i:d},
]",
),
(file, "both variables and script present in rewards[{i:d}]"),
)
if "reward" in scen:
warnings.append((file, "reward and rewards both present"))
Expand Down

0 comments on commit f730193

Please sign in to comment.