add SIM lint

This commit is contained in:
Jörg Thalheim
2024-09-02 16:29:50 +02:00
parent a17075f237
commit 483d8ce521
25 changed files with 59 additions and 85 deletions

View File

@@ -227,7 +227,7 @@ def find_option(
regex = rf"({first}|<name>)"
for elem in option_path[1:]:
regex += rf"\.({elem}|<name>)"
for opt in options.keys():
for opt in options:
if re.match(regex, opt):
return opt, value