From 8ed6c690928f579a547ebc5575c17ca10c43c091 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 17 Sep 2022 18:52:52 +0100 Subject: [PATCH] --- HDL_workflow.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2