Skip to content

Commit aa77f4b

Browse files
committed
change: remove unused guard clause
1 parent f05d353 commit aa77f4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pylint/checkers/refactoring/refactoring_checker.py

-4
Original file line numberDiff line numberDiff line change
@@ -906,10 +906,6 @@ def get_node_name(node: nodes.NodeNG) -> str:
906906
left_operand = get_node_name(node.test.left)
907907
right_statement_value = get_node_name(right_statement)
908908

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-
913909
if left_operand == target_assignation:
914910
# statement is in expected form
915911
pass

0 commit comments

Comments
 (0)