pyflakes icon indicating copy to clipboard operation
pyflakes copied to clipboard

Unused variables msg should be silenced if locals() is used

Open domenkozar opened this issue 13 years ago • 1 comments

For example:

     def test(a, b):
          c = do_something(locals())
          return True

Warning for unused variable should be issued only for c, not also a and b.

domenkozar avatar Mar 25 '12 22:03 domenkozar

This issue should be closed, I think? pull req #26 fixed it apparently?

saper avatar Jan 06 '13 14:01 saper