We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f05d353 commit aa77f4bCopy full SHA for aa77f4b
pylint/checkers/refactoring/refactoring_checker.py
@@ -906,10 +906,6 @@ def get_node_name(node: nodes.NodeNG) -> str:
906
left_operand = get_node_name(node.test.left)
907
right_statement_value = get_node_name(right_statement)
908
909
- if not right_statement_value or not body_value or not left_operand:
910
- # nodes in test or Assign are not of a handle-able type
911
- return
912
-
913
if left_operand == target_assignation:
914
# statement is in expected form
915
pass
0 commit comments