Skip to content

Commit

Permalink
fix: remove nptyping as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Aug 5, 2024
1 parent 3489538 commit d2534d0
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"polartoolkit": ("https://polartoolkit.readthedocs.io/en/latest/", None),
"numba": ("https://numba.pydata.org/numba-doc/latest/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
# nptyping
# numba_progress
"sklearn": ("https://scikit-learn.org/stable/", None),
"dask": ("https://docs.dask.org/en/stable/", None),
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ dependencies = [
"pygmt",
"dask",
"deprecation",
"nptyping",
###
# optimization
###
Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/cross_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sklearn
import verde as vd
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray
from polartoolkit import maps
from polartoolkit import utils as polar_utils
from tqdm.autonotebook import tqdm
Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pandas as pd
import scipy as sp
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray
from tqdm.autonotebook import tqdm

from invert4geom import cross_validation, log, optimization, plotting, regional, utils
Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import pandas as pd
import psutil
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray
from optuna.storages import JournalFileStorage, JournalStorage
from tqdm.autonotebook import tqdm

Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/regional.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pandas as pd
import pygmt
import verde as vd
from nptyping import NDArray
from numpy.typing import NDArray

from invert4geom import cross_validation, log, optimization, utils

Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/synthetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pooch
import verde as vd
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray
from polartoolkit import fetch, maps
from polartoolkit import utils as polar_utils

Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/uncertainty.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import pandas as pd
import UQpy
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray
from polartoolkit import utils as polar_utils
from tqdm.autonotebook import tqdm
from UQpy.sampling import LatinHypercubeSampling as LHS
Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import verde as vd
import xarray as xr
import xrft
from nptyping import NDArray
from numpy.typing import NDArray
from pykdtree.kdtree import KDTree # pylint: disable=no-name-in-module

import invert4geom
Expand Down
2 changes: 1 addition & 1 deletion tests/test_inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pytest
import verde as vd
import xarray as xr
from nptyping import NDArray
from numpy.typing import NDArray

from invert4geom import inversion

Expand Down

0 comments on commit d2534d0

Please sign in to comment.