diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49aae544..9b340333 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.1.5" + rev: "v0.1.6" hooks: - id: ruff types: [file, python] diff --git a/src/geovista/bridge.py b/src/geovista/bridge.py index 63acd8af..ce107919 100644 --- a/src/geovista/bridge.py +++ b/src/geovista/bridge.py @@ -13,8 +13,8 @@ import warnings -from numpy import ma import numpy as np +from numpy import ma from numpy.typing import ArrayLike from pyproj import CRS import pyvista as pv diff --git a/src/geovista/common.py b/src/geovista/common.py index f851465d..ec3eb457 100644 --- a/src/geovista/common.py +++ b/src/geovista/common.py @@ -12,11 +12,11 @@ import sys from typing import Any -from numpy import ma import numpy as np +from numpy import ma from numpy.typing import ArrayLike -from pyvista import _vtk import pyvista as pv +from pyvista import _vtk from pyvista.core.filters import _get_output from vtk import vtkLogger, vtkObject diff --git a/src/geovista/filters.py b/src/geovista/filters.py index 8fc50b45..b04bd728 100644 --- a/src/geovista/filters.py +++ b/src/geovista/filters.py @@ -11,8 +11,8 @@ from __future__ import annotations import numpy as np -from pyvista import _vtk import pyvista as pv +from pyvista import _vtk from pyvista.core.filters import _get_output from .common import ( diff --git a/src/geovista/pantry.py b/src/geovista/pantry.py index ce029c62..6e08b20e 100644 --- a/src/geovista/pantry.py +++ b/src/geovista/pantry.py @@ -14,8 +14,8 @@ from functools import lru_cache import netCDF4 as nc -from numpy import ma import numpy as np +from numpy import ma from numpy.typing import ArrayLike import pooch