Skip to content

adding support for traceback.print_* functions #60

@5cat

Description

@5cat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions