From b8c15d0ae0959881b2ce89ddb8f2462aaf380b63 Mon Sep 17 00:00:00 2001 From: Wang Haoyang Date: Thu, 26 Sep 2024 12:34:40 +0800 Subject: [PATCH] Fix ruff linter formatting issue in backend --- backend/src/auth/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/auth/models.py b/backend/src/auth/models.py index 96c373d2..9d432fe1 100644 --- a/backend/src/auth/models.py +++ b/backend/src/auth/models.py @@ -29,7 +29,7 @@ class User(Base): categories: Mapped[list[Category]] = relationship(secondary=user_category_table) notes: Mapped[list[Note]] = relationship("Note", backref="user") - top_events_period: Mapped[int] = mapped_column(Integer, default = 7) + top_events_period: Mapped[int] = mapped_column(Integer, default=7) class PasswordReset(Base):