Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Aug 23, 2024
1 parent 445e17c commit facf3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skbase/lookup/_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _filter_by_tags(obj, tag_filter=None, as_dataframe=True):
if isinstance(tag_filter, Iterable) and not isinstance(tag_filter, dict):
if not all(isinstance(t, str) for t in tag_filter):
raise ValueError(f"{type_msg} {tag_filter}")
tag_filter = {tag: True for tag in tag_filter}
tag_filter = dict.fromkeys(tag_filter, True)

# case: tag_filter is dict
# check that all keys are str
Expand Down

0 comments on commit facf3bb

Please sign in to comment.