Info
Showing all detectors for the Python language with info severity.
Swallowing exceptions, without re-throwing or logging them, is a bad practice.
To always return the subscription ARN, set the ReturnSubscriptionArn
argument to True
.
Detects if a torch variable is modified in place inside an assignment.
Stack traces can be hard to use for debugging.
Classes with low class cohesion contain unrelated operations which make them difficult to understand and less likely to be used.
Confusion between equality ==
, !=
and identity is
in conditional expressions can lead to unintended behavior.
Throwing a base or generic exception might cause important error information to be lost. This can make your code difficult to maintain.
Violating PEP8 programming recommendations might make code difficult to read and can introduce ambiguity.
Inefficient string concatenation inside loops results in new object creation which adds quadratic runtime cost.
Not checking which items have failed can lead to loss of data.
Iteration when only one item is needed from a list is inefficient.