Skip to content

Commit

Permalink
second try at linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Geary-Layne committed Dec 5, 2024
1 parent 35251e8 commit 79effd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/idsse_common/idsse/common/path_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ def _update_lookup(self, fmt_str: str) -> None:
'(must include a ":")')
try:
arg_size = int(re.search(r'^\d+', arg_parts[1]).group())
except Exception: # pylint: disable=raise-missing-from
except Exception:
# pylint: disable=raise-missing-from
raise ValueError('Format string must have explicit size '
'(must include a number after ":")')
arg_type = arg_parts[1][-1]
Expand Down

0 comments on commit 79effd8

Please sign in to comment.