Skip to content

Commit

Permalink
flake8 (#2716)
Browse files Browse the repository at this point in the history
* flake8

* test

* Update metomi/rose/config.py

---------

Co-authored-by: Tim Pillinger <[email protected]>
  • Loading branch information
oliver-sanders and wxtim authored Aug 3, 2023
1 parent 5b9f8c7 commit 390c98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metomi/rose/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def __eq__(self, other):
try:
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)
if ( # noqa: E721
type(node_1) != type(node_2) # noqa: E721
or (
not isinstance(node_1.value, dict)
and node_1.value != node_2.value
Expand Down

0 comments on commit 390c98f

Please sign in to comment.