diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54b58ae6..6354d861 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.3" + rev: "v0.1.4" hooks: - id: ruff types: [file, python] diff --git a/src/geovista/bridge.py b/src/geovista/bridge.py index ce107919..63acd8af 100644 --- a/src/geovista/bridge.py +++ b/src/geovista/bridge.py @@ -13,8 +13,8 @@ import warnings -import numpy as np from numpy import ma +import numpy as np 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 ec3eb457..f851465d 100644 --- a/src/geovista/common.py +++ b/src/geovista/common.py @@ -12,11 +12,11 @@ import sys from typing import Any -import numpy as np from numpy import ma +import numpy as np from numpy.typing import ArrayLike -import pyvista as pv from pyvista import _vtk +import pyvista as pv 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 b04bd728..8fc50b45 100644 --- a/src/geovista/filters.py +++ b/src/geovista/filters.py @@ -11,8 +11,8 @@ from __future__ import annotations import numpy as np -import pyvista as pv from pyvista import _vtk +import pyvista as pv from pyvista.core.filters import _get_output from .common import ( diff --git a/src/geovista/pantry.py b/src/geovista/pantry.py index 6e08b20e..ce029c62 100644 --- a/src/geovista/pantry.py +++ b/src/geovista/pantry.py @@ -14,8 +14,8 @@ from functools import lru_cache import netCDF4 as nc -import numpy as np from numpy import ma +import numpy as np from numpy.typing import ArrayLike import pooch