diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ff4419..00d1c81 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.0 hooks: - id: ruff args: [--fix, --show-fixes] diff --git a/src/apscheduler/triggers/cron/fields.py b/src/apscheduler/triggers/cron/fields.py index 4a2e44b..20d6593 100644 --- a/src/apscheduler/triggers/cron/fields.py +++ b/src/apscheduler/triggers/cron/fields.py @@ -55,7 +55,7 @@ class BaseField: - __slots__ = "name", "expressions" + __slots__ = "expressions", "name" real: ClassVar[bool] = True compilers: ClassVar[Any] = (AllExpression, RangeExpression)