Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2024
1 parent 9cd93ef commit 4cc0428
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conda-store-server/conda_store_server/_internal/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ class Solve(Base):

scheduled_on: Mapped[datetime.datetime] = mapped_column(
# TODO: change to datetime.datetime.now(datetime.UTC) when python 3.10 is dropped
DateTime, default=datetime.datetime.utcnow
DateTime,
default=datetime.datetime.utcnow,
)
started_on: Mapped[datetime.datetime] = mapped_column(DateTime, default=None)
ended_on: Mapped[datetime.datetime] = mapped_column(DateTime, default=None)
Expand Down Expand Up @@ -262,7 +263,8 @@ class Build(Base):
size: Mapped[int] = mapped_column(BigInteger, default=0)
scheduled_on: Mapped[datetime.datetime] = mapped_column(
# TODO: change to datetime.datetime.now(datetime.UTC) when python 3.10 is dropped
DateTime, default=datetime.datetime.utcnow
DateTime,
default=datetime.datetime.utcnow,
)
started_on: Mapped[datetime.datetime] = mapped_column(DateTime, default=None)
ended_on: Mapped[datetime.datetime] = mapped_column(DateTime, default=None)
Expand Down

0 comments on commit 4cc0428

Please sign in to comment.