diff --git a/scripts/ex-gwf-curvilinear-90.py b/scripts/ex-gwf-curvilinear-90.py index d525a337..dfa7163a 100644 --- a/scripts/ex-gwf-curvilinear-90.py +++ b/scripts/ex-gwf-curvilinear-90.py @@ -26,6 +26,7 @@ import pathlib as pl from itertools import cycle from math import sqrt +from typing import List import flopy import matplotlib.pyplot as plt @@ -147,10 +148,10 @@ class DisvPropertyContainer: nlay: int ncpl: int nvert: int - vertices: list[list] # [[iv, xv, yv], ...] - cell2d: list[list] # [[ic, xc, yc, ncvert, icvert], ...] + vertices: List[list] # [[iv, xv, yv], ...] + cell2d: List[list] # [[ic, xc, yc, ncvert, icvert], ...] top: np.ndarray - botm: list[np.ndarray] + botm: List[np.ndarray] origin_x: float origin_y: float rotation: float diff --git a/scripts/ex-gwf-curvilinear.py b/scripts/ex-gwf-curvilinear.py index 097c6c5f..7819acf3 100644 --- a/scripts/ex-gwf-curvilinear.py +++ b/scripts/ex-gwf-curvilinear.py @@ -25,6 +25,7 @@ import os import pathlib as pl from itertools import cycle +from typing import List import flopy import matplotlib.pyplot as plt @@ -146,10 +147,10 @@ class DisvPropertyContainer: nlay: int ncpl: int nvert: int - vertices: list[list] # [[iv, xv, yv], ...] - cell2d: list[list] # [[ic, xc, yc, ncvert, icvert], ...] + vertices: List[list] # [[iv, xv, yv], ...] + cell2d: List[list] # [[ic, xc, yc, ncvert, icvert], ...] top: np.ndarray - botm: list[np.ndarray] + botm: List[np.ndarray] origin_x: float origin_y: float rotation: float