Channels
welcome
github-notifications
development
announce
random
plugins
general
pex
Powered by
#development
Title
h
hundreds-breakfast-49010
03/15/2021, 5:14 AM
is the pants python linting setup supposed to catch uses of f-strings that don't have any variables interpolated?
h
hundreds-father-404
03/15/2021, 5:27 AM
yeah
h
hundreds-breakfast-49010
03/15/2021, 5:32 AM
looks like its not on
https://github.com/pantsbuild/pants/pull/11697/files
. I'm surprised that passed the linter
h
happy-kitchen-89482
03/15/2021, 2:35 PM
It's allowed if it's a multiline continuation where one of the lines has interpolation
👍 1
In fact I think that is the recommendation
The is too much potential for bugs if you rebreak the lines when editing otherwise
h
hundreds-breakfast-49010
03/15/2021, 9:59 PM
ah, cool. yeah that's sensible, and I'm glad the linter is smart enough to handle that case
Post