From 2dce344156e77831d3e026ecae11e9c4f3be4e66 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:36:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../anomaly_detection_v2/models/prophet_model.py | 6 +----- .../tests/anomaly_detection_v2/prophet_model_test.py | 9 +-------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/soda/scientific/soda/scientific/anomaly_detection_v2/models/prophet_model.py b/soda/scientific/soda/scientific/anomaly_detection_v2/models/prophet_model.py index feecf33d8..32b71d29c 100644 --- a/soda/scientific/soda/scientific/anomaly_detection_v2/models/prophet_model.py +++ b/soda/scientific/soda/scientific/anomaly_detection_v2/models/prophet_model.py @@ -14,6 +14,7 @@ from soda.common.logs import Logs from soda.sodacl.anomaly_detection_metric_check_cfg import ( HyperparameterConfigs, + ModelConfigs, ProphetDefaultHyperparameters, TrainingDatasetParameters, ) @@ -35,11 +36,6 @@ SuppressStdoutStderr, get_not_enough_measurements_freq_result, ) -from soda.sodacl.anomaly_detection_metric_check_cfg import ( - ModelConfigs, - ProphetDefaultHyperparameters, - TrainingDatasetParameters, -) with SuppressStdoutStderr(): from prophet import Prophet diff --git a/soda/scientific/tests/anomaly_detection_v2/prophet_model_test.py b/soda/scientific/tests/anomaly_detection_v2/prophet_model_test.py index ded49d437..161042c86 100644 --- a/soda/scientific/tests/anomaly_detection_v2/prophet_model_test.py +++ b/soda/scientific/tests/anomaly_detection_v2/prophet_model_test.py @@ -20,14 +20,6 @@ df_prophet_model_setup_fit_predict_holidays, test_feedback_processor_seasonality_skip_measurements, ) - -from soda.scientific.anomaly_detection_v2.exceptions import ( - AggregationValueError, - FreqDetectionResultError, - NotSupportedHolidayCountryError, -) -from soda.scientific.anomaly_detection_v2.feedback_processor import FeedbackProcessor -from soda.scientific.anomaly_detection_v2.models.prophet_model import ProphetDetector from soda.sodacl.anomaly_detection_metric_check_cfg import ( HyperparameterConfigs, ModelConfigs, @@ -41,6 +33,7 @@ from soda.scientific.anomaly_detection_v2.exceptions import ( AggregationValueError, FreqDetectionResultError, + NotSupportedHolidayCountryError, ) from soda.scientific.anomaly_detection_v2.feedback_processor import FeedbackProcessor from soda.scientific.anomaly_detection_v2.models.prophet_model import ProphetDetector