pylint #9839 analyze (some) strings for variable [open]

In this function pylint complains that a and b are unused:

def f(a):
    b = "some var"
    return "%(a)s, %(b)s" % locals()

It would be nice if it noticed literal % locals() structure and treated variable references within the string as actual usage.

prioritynormal
typeenhancement
done in<not specified>
load1.000
load left1.000
closed by<not specified>