Skip to content

Commit 9770ee7

Browse files
committed
Refactor: Update pre-commit hook stages and clean up mqtt import statements
1 parent ffa85ab commit 9770ee7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ repos:
1717
entry: .github/hooks/version-hook.sh
1818
language: script
1919
pass_filenames: false
20-
stages: [push] # Run on push, not commit
20+
stages: [pre-push] # Run on push, not commit
2121
always_run: true
2222
verbose: true

src/flowerpower/mqtt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
stacklevel=2,
77
)
88

9-
from flowerpower.plugins.mqtt import (MqttConfig, MqttManager, # noqa: E402
10-
MQTTManager)
9+
from flowerpower.plugins.mqtt import MqttManager # noqa: E402
10+
from flowerpower.plugins.mqtt import MqttConfig, MQTTManager
1111

1212
__all__ = ["MqttConfig", "MqttManager", "MQTTManager"]

0 commit comments

Comments
 (0)