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.
|appeared in||<not specified>|
|done in||<not specified>|
|closed by||<not specified>|