From 47cfacdae4914273da6998b1897ce3fc2e9b850e Mon Sep 17 00:00:00 2001 From: philippe thomy Date: Thu, 17 Oct 2024 17:47:34 +0200 Subject: [PATCH] models ruff --- src/prefect/indicators/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/prefect/indicators/models.py b/src/prefect/indicators/models.py index 4436f896..e4620ddb 100644 --- a/src/prefect/indicators/models.py +++ b/src/prefect/indicators/models.py @@ -3,9 +3,9 @@ from datetime import datetime, timedelta from enum import Enum, IntEnum from typing import Optional -from dateutil.relativedelta import relativedelta -from pydantic import BaseModel +from dateutil.relativedelta import relativedelta +from pydantic import BaseModel # type: ignore class Level(IntEnum): @@ -50,7 +50,7 @@ class PeriodDuration(Enum): """Represents the time delta of an IndicatorPeriod.""" DAY = timedelta(days=1) - WEEK = timedelta(days=7) + WEEK = timedelta(days=7) MONTH = relativedelta(months=1) QUARTER = relativedelta(months=3) - YEAR = relativedelta(year=1) \ No newline at end of file + YEAR = relativedelta(year=1)