Skip to content

Commit

Permalink
Fixed python scope bug
Browse files Browse the repository at this point in the history
  • Loading branch information
surge119 committed Aug 13, 2024
1 parent 2226a7c commit ee3866c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fixit/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ def validate_rules(rules: List[str], path: Path) -> None:
for _ in find_rules(qualified_rule):
pass
except Exception as e:
nonlocal exception_raised
exception_raised = True
pprint(
f"Failed to parse rule `{rule}`: {e.__class__.__name__}: {e}"
Expand Down

0 comments on commit ee3866c

Please sign in to comment.