Skip to content

Commit

Permalink
chore(lint): ruff implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
haidarCheaito committed Oct 23, 2023
1 parent 0ef1205 commit 0797514
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 271 deletions.
4 changes: 2 additions & 2 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import time
from dataclasses import dataclass
from datetime import datetime, timedelta
from datetime import UTC, datetime, timedelta
from io import BytesIO
from pathlib import Path
from typing import Optional, Self, Sequence
Expand Down Expand Up @@ -218,7 +218,7 @@ def deploy_to_environment(
VersionLabel=self.version_label,
)

start_time = datetime.utcnow()
start_time = datetime.now(tz=UTC)
health = environment.wait_for_update_is_ready_and_get_health(
start_time,
polling_max_steps=polling_max_steps,
Expand Down
277 changes: 35 additions & 242 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0797514

Please sign in to comment.