flake8-print
flake8-print copied to clipboard
adding support for `traceback.print_*` functions
Hi,
It would be great to add all the print functions of traceback.print_* in this library detection as well.
I'm using this plugin as a way to stop the usage of prints without the use of loggers, traceback.print_* sometimes are used in this context
try:
a = 1/0
except Exception as e:
print(e)
traceback.print_exc()
I would like to prohibit these functions as well since they follow the same merit, have the print name in it, and from the standard library