Skip to content

Commit

Permalink
fix E721
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Aug 22, 2023
1 parent 4a142ad commit ea629f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metomi/rose/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def __eq__(self, other):
for keys_1, node_1 in self.walk(no_ignore=True):
node_2 = other.get(keys_1, no_ignore=True)
if (
type(node_1) != type(node_2)
type(node_1) is not type(node_2)
or (
not isinstance(node_1.value, dict)
and node_1.value != node_2.value
Expand Down

0 comments on commit ea629f6

Please sign in to comment.