From e2ab7b737017d7d8595edbd24446541dd147acda Mon Sep 17 00:00:00 2001 From: KulikDM Date: Sun, 3 Mar 2024 07:29:18 +0200 Subject: [PATCH] Update pre-commit and coverage --- .pre-commit-config.yaml | 2 +- pythresh/thresholds/karch.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8090b12..38b04a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: name: Sort imports - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.0 hooks: - id: ruff args: [--exit-non-zero-on-fix, --fix, --line-length=180] diff --git a/pythresh/thresholds/karch.py b/pythresh/thresholds/karch.py index 035fc12..c9733be 100755 --- a/pythresh/thresholds/karch.py +++ b/pythresh/thresholds/karch.py @@ -1,8 +1,8 @@ import inspect import numpy as np -from geomstats.geometry.euclidean import Euclidean -from geomstats.learning.frechet_mean import FrechetMean +from geomstats.geometry.euclidean import Euclidean # pragma: no cover +from geomstats.learning.frechet_mean import FrechetMean # pragma: no cover from .base import BaseThresholder from .thresh_utility import check_scores, cut, gen_kde, normalize