diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f35067f06..a1aa6fa3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,14 +20,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.3 hooks: - id: ruff args: [--fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: diff --git a/src/apscheduler/_utils.py b/src/apscheduler/_utils.py index 379e1a6a3..ab3335f0a 100644 --- a/src/apscheduler/_utils.py +++ b/src/apscheduler/_utils.py @@ -1,4 +1,5 @@ """This module contains several handy functions primarily meant for internal use.""" + from __future__ import annotations import sys diff --git a/src/apscheduler/triggers/cron/expressions.py b/src/apscheduler/triggers/cron/expressions.py index 7d3ced5ca..f755f64c4 100644 --- a/src/apscheduler/triggers/cron/expressions.py +++ b/src/apscheduler/triggers/cron/expressions.py @@ -1,4 +1,5 @@ """This module contains the expressions applicable for CronTrigger's fields.""" + from __future__ import annotations import re