Skip to content

Commit bef480e

Browse files
committed
relocates import statement
1 parent 2cc7767 commit bef480e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/microgenerator/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import argparse
2828
import glob
2929
import logging
30+
import re
3031
from collections import defaultdict
3132
from pathlib import Path
3233
from typing import List, Dict, Any
@@ -709,9 +710,8 @@ def _execute_post_processing(config: Dict[str, Any]):
709710

710711
if all_start_index != -1 and all_end_index != -1:
711712
all_content = "".join(lines[all_start_index + 1 : all_end_index])
712-
# Extract quoted strings
713-
import re
714713

714+
# Extract quoted strings
715715
found_members = re.findall(r'"([^"]+)"', all_content)
716716
for member in found_members:
717717
if member not in all_list:

0 commit comments

Comments
 (0)