diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fcd25575..b7227afc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.12.0 + rev: v0.14.0 hooks: # Run the linter. - id: ruff @@ -11,7 +11,7 @@ repos: # Run the formatter. - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -19,6 +19,9 @@ repos: exclude: .devcontainer - id: check-yaml - id: check-added-large-files + - id: no-commit-to-branch + stages: [pre-commit] + args: [--branch, main] - repo: local hooks: - id: mypy diff --git a/pyoverkiz/enums/general.py b/pyoverkiz/enums/general.py index 69aecd82..38f878d6 100644 --- a/pyoverkiz/enums/general.py +++ b/pyoverkiz/enums/general.py @@ -364,6 +364,7 @@ class EventName(StrEnum): REAL_TIME_SETUP_NOTIFICATION = "RealTimeSetupNotificationEvent" REFRESH_ALL_DEVICES_STATES_COMPLETED = "RefreshAllDevicesStatesCompletedEvent" REFRESH_ALL_DEVICES_STATES_FAILED = "RefreshAllDevicesStatesFailedEvent" + REFRESH_EVERYTHING_COMPLETED = "RefreshEverythingCompletedEvent" RESELLER_DELEGATION = "ResellerDelegationEvent" SECONDARY_ACCOUNT_UPDATED = "SecondaryAccountUpdatedEvent" SETUP_JOB_COMPLETED = "SetupJobCompletedEvent"