chore(pylint): enable 4 pylint checks and fix violations
What does this merge request do and why?
All pylint checks except the violated ones were enabled: chore: enable all pylint checks excluding the v... (!846 - merged)
This MR enables and fixes violations for the following pylint checks:
- dangerous-default-value
- invalid-overridden-method
- inconsistent-return-statements
- use-implicit-booleaness-not-comparison