Use the appropriate built-in Exception class.
ziadhany opened this issue · comments
nexB/vulnerablecode#1256 (comment) : Avoid too broad Exception.
https://docs.python.org/3/library/exceptions.html#built-in-exceptions
Common weakness enumeration library for Python (maintained fork of https://github.com/Julian-Nash/cwe )
ziadhany opened this issue · comments
nexB/vulnerablecode#1256 (comment) : Avoid too broad Exception.
https://docs.python.org/3/library/exceptions.html#built-in-exceptions