raise causes control flow to be disrupted, as it will exit the block. It is recommended to check other conditions using another if statement, and get rid of else statements as they are unnecessary.
Occurrences
There is 1 occurrence of this issue in the repository.
Python will allow this, but if the overridden method is intended to be executed from an external code, you may want to reconsider this. Overriding a method without ensuring that both methods accept the same number and type of parameters has the potential to cause an error when the overriding โฆ
Occurrences
There are 5 occurrences of this issue in the repository.
A parent-child relationship is created when the user checks the is_parent(I am the child's parent) check box. However, this relationship isn't available in the view tests
A function, method or class is being redefined in the same scope. This would override the original definition, and doing this is strongly discouraged. Please verify that this is something that you intended to do.
Occurrences
There is 1 occurrence of this issue in the repository.