[code-quality] Consistent handling of left and right inputs for selected operators (with astroid?)