Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jul 19, 2024
1 parent 4e8ba01 commit 4d3edbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flopy4/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from typing import Optional

import numpy as np
from flopy.utils.flopy_io import line_strip, multi_line_strip

from flopy.utils.flopy_io import line_strip, multi_line_strip
from flopy4.constants import CommonNames
from flopy4.parameter import MFParameter, MFReader

Expand Down Expand Up @@ -342,7 +342,7 @@ def load(cls, f, cwd, shape):
layered = False
tokens = multi_line_strip(f).split()
name = tokens[0]
if len(tokens) > 1 and tokens[1] == 'layered':
if len(tokens) > 1 and tokens[1] == "layered":
layered = True

if layered:
Expand Down
4 changes: 2 additions & 2 deletions flopy4/block.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from collections.abc import MutableMapping
from typing import Any, Dict

from flopy4.parameter import MFParameter, MFParameters
from flopy4.array import MFArray
from flopy4.parameter import MFParameter, MFParameters
from flopy4.utils import strip


Expand Down Expand Up @@ -76,7 +76,7 @@ def load(cls, f, strict=False):
param = members[key]
param.block = name
if type(param) is MFArray:
params[key] = MFArray.load(f, cwd='', shape=(3))
params[key] = MFArray.load(f, cwd="", shape=(3))
else:
params[key] = type(param).load(f, spec=param)

Expand Down

0 comments on commit 4d3edbe

Please sign in to comment.