Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Moxinilian committed Jul 20, 2024
1 parent c853ce3 commit 987bf9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion filecheck/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def preprocess_label(self, op: CheckOp):
pattern, _ = compile_uops(op, dict(), self.opts)
match = self.input.find_between(pattern, self.range)
if not match:
raise CheckError(f"{op.check_name}: Could not find label '{op.arg}' in input", op)
raise CheckError(
f"{op.check_name}: Could not find label '{op.arg}' in input", op
)

self.range = self.range.split_at(match)
self.input.ranges.append(self.range)

0 comments on commit 987bf9f

Please sign in to comment.