Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 6, 2024
1 parent cd39c3b commit 7bde386
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pharaoh/templating/second_level/sphinx_ext/asset_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def _option_boolean(arg):
return False
if arg.strip().lower() in ("yes", "1", "true"):
return True
raise ValueError('"%s" unknown boolean' % arg)
msg = f'"{arg}" unknown boolean'
raise ValueError(msg)


# -------------------------------------
Expand Down

0 comments on commit 7bde386

Please sign in to comment.