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 Feb 26, 2024
1 parent 013354f commit 0f82cac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions filefinder/_filefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def find(
keys = update_dict_with_kwargs(keys, **keys_kwargs)

if on_parse_error not in ["raise", "warn", "ignore"]:
raise ValueError(
f"Unknown value for 'on_parse_error': '{on_parse_error}'. Must be one of 'raise', 'warn' or 'ignore'."
)
raise ValueError(
f"Unknown value for 'on_parse_error': '{on_parse_error}'. Must be one of 'raise', 'warn' or 'ignore'."
)

# wrap strings and scalars in list
for key, value in keys.items():
Expand Down

0 comments on commit 0f82cac

Please sign in to comment.