Skip to content

Commit 45ae5cf

Browse files
authored
Add REFRESH_EVERYTHING_COMPLETED event to EventName enum (#1775)
1 parent b3cbc49 commit 45ae5cf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
55
# Ruff version.
6-
rev: v0.12.0
6+
rev: v0.14.0
77
hooks:
88
# Run the linter.
99
- id: ruff
1010
args: [ --fix ]
1111
# Run the formatter.
1212
- id: ruff-format
1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v5.0.0
14+
rev: v6.0.0
1515
hooks:
1616
- id: trailing-whitespace
1717
- id: end-of-file-fixer
1818
- id: check-json
1919
exclude: .devcontainer
2020
- id: check-yaml
2121
- id: check-added-large-files
22+
- id: no-commit-to-branch
23+
stages: [pre-commit]
24+
args: [--branch, main]
2225
- repo: local
2326
hooks:
2427
- id: mypy

pyoverkiz/enums/general.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ class EventName(StrEnum):
364364
REAL_TIME_SETUP_NOTIFICATION = "RealTimeSetupNotificationEvent"
365365
REFRESH_ALL_DEVICES_STATES_COMPLETED = "RefreshAllDevicesStatesCompletedEvent"
366366
REFRESH_ALL_DEVICES_STATES_FAILED = "RefreshAllDevicesStatesFailedEvent"
367+
REFRESH_EVERYTHING_COMPLETED = "RefreshEverythingCompletedEvent"
367368
RESELLER_DELEGATION = "ResellerDelegationEvent"
368369
SECONDARY_ACCOUNT_UPDATED = "SecondaryAccountUpdatedEvent"
369370
SETUP_JOB_COMPLETED = "SetupJobCompletedEvent"

0 commit comments

Comments
 (0)