From: lkcl Date: Sat, 17 Sep 2022 17:52:52 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~386 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed6c690928f579a547ebc5575c17ca10c43c091;p=libreriscv.git --- diff --git a/HDL_workflow.mdwn b/HDL_workflow.mdwn index cbce07e78..1d36b9f50 100644 --- a/HDL_workflow.mdwn +++ b/HDL_workflow.mdwn @@ -940,6 +940,13 @@ identification of context and an aid to rapid understanding. Anything that interferes with that - such as python format-strings - has to take a back seat, regardless of its perceived benefits. +**If you absolutely must** use python-format-strings, **only** do +so by restricting to variables. Create temporary variables if you +have to. + + y = '/'.join(a_list) + x = f"{y}" + ### PEP8 format * all code needs to conform to pep8. use either pep8checker or better