Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Oct 15, 2024
1 parent 330ad53 commit 4cdf826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flopy/mf6/utils/codegen/dfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _try_parse_bool(value):
Try to parse a boolean from a string as represented
in a DFN file, otherwise return the value unaltered.
"""

if isinstance(value, str):
value = value.lower()
if value in ["true", "false"]:
Expand Down
2 changes: 1 addition & 1 deletion flopy/mf6/utils/codegen/shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _super() -> Optional[str]:
args = [
ctx["parent"]
if ctx.get("meta", dict()).get("ref", None)
else ctx['parent'],
else ctx["parent"],
f"'{ctx['name'].r}'",
"filename",
"pname",
Expand Down

0 comments on commit 4cdf826

Please sign in to comment.