mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Look up @_lint_rules in the right dictionary
This commit is contained in:
parent
677e950a61
commit
a9a3ac7ecf
@ -99,7 +99,7 @@ with open(target, encoding='utf-8') as f:
|
||||
strings = {k: v for k, v in values.items() if not k.startswith("@")}
|
||||
|
||||
print(target, f"- checking {len(strings)} strings")
|
||||
lint_strings(strings, strings.get("@_lint_rules", {}))
|
||||
lint_strings(strings, values.get("@_lint_rules", {}))
|
||||
check_duplicate_values(strings)
|
||||
|
||||
if errors:
|
||||
|
Loading…
Reference in New Issue
Block a user