Skip to content

Commit

Permalink
Fix nested quotes inside f strings for pre python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-hampton committed Apr 9, 2024
1 parent 9b460ee commit e5170b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checksit/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def check_radar_moment_variables(dct, exist_attrs=None, rule_attrs=None, one_of_
if attr not in dct["variables"][variable]:
errors.append(
f"[variable**************:{variable}]: Attribute '{attr}' does not exist. "
f"{search_close_match(attr, dct["variables"][variable]) if not skip_spellcheck else ''}"
f"{search_close_match(attr, dct['variables'][variable]) if not skip_spellcheck else ''}"
)
for attr in rule_attrs:
if isinstance(attr, dict) and len(attr.keys()) == 1:
Expand Down

0 comments on commit e5170b2

Please sign in to comment.