Let me preface this with the fact that I love both pylint and f-strings. Unfortunately, company policy mandates a maximum line length and using long f-strings is disagreeing with that policy. For example:
xyzzy = f'Let us pretend this line (from {first_name} {last_name}) is too long')
I know that, with str.format(), there's a fairly easy way to do it:
xyzzy = 'Let us pretend this line (from {} {}) is too long'.format(
    first_name, last_name)
However, I don't really want to give up the main benefit of f-strings, the ability to have the data inline with the surrounding text, so I don't have to go looking for it.
I could do two separate f-string and concatenate them with +, but that seems a bit wasteful.
Is there a way to do a single f-string but broken up in such a way as to stop pylint complaining about the length? I'm thinking something like the following (mythical) method where it does what C does in auto-magically concatenating string literals:
xyzzy = f'Let us pretend this line (from {first_name} '
        f'{last_name}) is too long')
Note there's not much structural difference between that and one with + at the end of the first line, but I suspect the latter would be two distinct operations in the byte-code.
 
     
     
     
    