Skip to content

Commit 3807b4a

Browse files
committed
chore: update pre-commit package version (bacause it is not working with typos)
1 parent e632595 commit 3807b4a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎poetry.lock‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pytest = "^7.1.2"
5757
ruff = "^0"
5858
black = { version = "^22.6.0", allow-prereleases = true }
5959
mypy = "^1"
60-
pre-commit = "^2.20.0"
60+
pre-commit = "^4.3.0"
6161
coverage = "^6.4.2"
6262
pytest-cov = "^3.0.0"
6363
mock = "^4.0.3"

‎taskiq/cli/scheduler/run.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def get_task_delay(task: ScheduledTask) -> Optional[int]:
8787
# If it's timedelta, we simply add the delta to current time.
8888
if task.cron_offset and isinstance(task.cron_offset, timedelta):
8989
now += task.cron_offset
90-
# If timezone was specified as string we convert it timzone
90+
# If timezone was specified as string we convert it timezone
9191
# offset and then apply.
9292
elif task.cron_offset and isinstance(task.cron_offset, str):
9393
now = now.astimezone(pytz.timezone(task.cron_offset))

0 commit comments

Comments
 (0)