Skip to content

Commit ddb6627

Browse files
committed
Format the script that generates the VPR option mapping
1 parent 76b18d9 commit ddb6627

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎openfpga_flow/scripts/generate_vpr_option_mapping.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ def read_declarations(text):
203203
"parser": parser,
204204
"store_true": "Action::STORE_TRUE" in statement,
205205
"multi_value": bool(re.search(r"\.nargs\('\+'\)", statement)),
206-
"help": help_text.strip()
207-
if help_text and only_string_literals(help_text)
208-
else '""',
206+
"help": (
207+
help_text.strip() if help_text and only_string_literals(help_text) else '""'
208+
),
209209
}
210210
)
211211
return declarations

0 commit comments

Comments
 (0)