Hello flake8!

I would have expected pyflakes to emit an unused variables warning for "e"
on the following code snippet:

class ModuleError(Exception):
    pass

try:
    1 / 0
except ZeroDivisionError as e:
    raise ModuleError()

Curious if this check can be added.

Thank you!

--
Shane Creighton-Young
sh...@goubiq.com
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to