From 6ef7fa7d0e1e70225fe3d3c835f7c394f10ef1bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:45:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ocf_ml_metrics/baselines/simple.py | 1 + ocf_ml_metrics/evaluation/utils.py | 1 + ocf_ml_metrics/metrics/errors.py | 1 + ocf_ml_metrics/metrics/utils.py | 1 + setup.py | 1 + 5 files changed, 5 insertions(+) diff --git a/ocf_ml_metrics/baselines/simple.py b/ocf_ml_metrics/baselines/simple.py index 6f6d10e..f97b3b3 100644 --- a/ocf_ml_metrics/baselines/simple.py +++ b/ocf_ml_metrics/baselines/simple.py @@ -1,4 +1,5 @@ """Simple baselines to use""" + import numpy as np diff --git a/ocf_ml_metrics/evaluation/utils.py b/ocf_ml_metrics/evaluation/utils.py index a94f8d2..c269362 100644 --- a/ocf_ml_metrics/evaluation/utils.py +++ b/ocf_ml_metrics/evaluation/utils.py @@ -1,4 +1,5 @@ """ Util evaluation functions """ + import pandas as pd diff --git a/ocf_ml_metrics/metrics/errors.py b/ocf_ml_metrics/metrics/errors.py index c41d4d7..d939af8 100644 --- a/ocf_ml_metrics/metrics/errors.py +++ b/ocf_ml_metrics/metrics/errors.py @@ -1,4 +1,5 @@ """Common metrics to compute""" + from typing import Optional, Union import numpy as np diff --git a/ocf_ml_metrics/metrics/utils.py b/ocf_ml_metrics/metrics/utils.py index edf1538..76f7b9f 100644 --- a/ocf_ml_metrics/metrics/utils.py +++ b/ocf_ml_metrics/metrics/utils.py @@ -1,4 +1,5 @@ """Utility functions""" + from typing import Tuple import numpy as np diff --git a/setup.py b/setup.py index 7c4a7ac..4fa9a46 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """ Usual setup file for package """ + # read the contents of your README file from pathlib import Path