Skip to content

Commit 83426ba

Browse files
authored
use devtools dfn branch, add codespell, update pixi env (#242)
1 parent 42291e3 commit 83426ba

File tree

6 files changed

+58
-23
lines changed

6 files changed

+58
-23
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- name: Run mypy
3434
run: pixi run mypy flopy4
3535

36+
- name: Run codespell
37+
run: pixi run codespell
38+
3639
build:
3740
name: Build
3841
runs-on: ubuntu-latest

flopy4/mf6/codec/reader/transformer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import numpy as np
77
import xarray as xr
88
from lark import Token, Transformer
9-
from modflow_devtools.dfn import SCALAR_TYPES, Dfn
9+
from modflow_devtools.dfn import Dfn
10+
from modflow_devtools.dfn.schema.v2 import SCALAR_TYPES
1011

1112

1213
class BasicTransformer(Transformer):

flopy4/mf6/gwf/oc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Steps:
5656
head_file: Optional[Path] = path(
5757
block="options", converter=to_path, default=None, inout="fileout"
5858
)
59-
# TODO: needs coverter and then rename?
59+
# TODO: needs converter and then rename?
6060
head: Optional[Format] = field(block="options", default=None)
6161
save_head: Optional[NDArray[np.str_]] = array(
6262
dtype=np.dtypes.StringDType(),

flopy4/mf6/utils/cbc_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def open_cbc(
9191
Whether to return the flow-ja-face values "as is" (``True``) or in a
9292
grid form (``False``).
9393
simulation_start_time : Optional datetime
94-
The time and date correpsonding to the beginning of the simulation.
94+
The time and date corresponding to the beginning of the simulation.
9595
Use this to convert the time coordinates of the output array to
9696
calendar time/dates. time_unit must also be present if this argument is
9797
present.

0 commit comments

Comments
 (0)