Skip to content

Commit

Permalink
Merge pull request #13 from Infineon/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
johannesloibl authored May 7, 2024
2 parents 719594e + 7bde386 commit e3634e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude: |
)$
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
Expand Down
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 e3634e8

Please sign in to comment.