From e493225307abaf183745255affa761db74f0e55a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:13:11 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.3...v0.1.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From e61a0d2a9ba85bbbe1ea2709aeddf15bc18e04b3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:13:20 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/geovista/bridge.py | 2 +- src/geovista/common.py | 4 ++-- src/geovista/filters.py | 2 +- src/geovista/pantry.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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