Merge branch 'bugfix/fix_hints_templates' into 'master'

tools: fix hints templates

See merge request espressif/esp-idf!19789
This commit is contained in:
Roland Dobai
2022-08-29 16:43:14 +08:00
2 changed files with 38 additions and 38 deletions

View File

@@ -109,8 +109,8 @@ def print_hints(*filenames: str) -> None:
try:
if variables_list:
for variables in variables_list:
hint_vars = variables['re_variables']
re_vars = variables['hint_variables']
hint_vars = variables['hint_variables']
re_vars = variables['re_variables']
regex = hint['re'].format(*re_vars)
if re.compile(regex).search(output):
try: