E0202
Method has the same name as an attribute
The Codiga Static Analysis engine is powered by the best open-source tools to check your Python code. Make sure your code does not have any security issues and follow design and other best practices. Automate your code reviews today and merge with confidence with Codiga.
Method has the same name as an attribute
Access to members before they are defined
__repr__ does not return str
__str__ does not return str
__hash__ does not return an int
Module that cannot be imported
Attempted relative import beyond top-level package
Using variable before assignment
Bad except clauses order
Raising int while only classes or instances are allowed
Catching an exception which doesn't inherit from Exception.
Detect members or attributes that do not exists
Assigning result of a function call with no return
No value for argument in function call
Assigning result of a function call that returns nothing but None.
Unsupported assignment operation
Unsupported delete operation
Dangerous default value as argument
Redeclared variable in assignment
Global variable used but not defined
Loop variable used outside a loop
Operation is raising exception
Implicit string concatenation
Invalid default value when getting the environment
Using preexec_fn keyword which may be unsafe in the presence of threads
Iterated dict is being modified inside for loop body, iterate through a copy of it instead.
Iterated list is being modified inside for loop body
Iterated set is being modified inside for loop body, iterate through a copy of it instead.
Missing timeout argument can cause your program to hang indefinitely
Non-string value assigned
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.