Commit 0ee3610 1 parent f789ff7 commit 0ee3610 Copy full SHA for 0ee3610
File tree 7 files changed +14
-8
lines changed
7 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 9
9
10
10
repos :
11
11
- repo : https://github.com/commitizen-tools/commitizen
12
- rev : v3.2.2
12
+ rev : v3.27.0
13
13
hooks :
14
14
- id : commitizen
15
15
stages : [commit-msg]
16
16
- repo : https://github.com/pre-commit/pre-commit-hooks
17
- rev : v4.5 .0
17
+ rev : v4.6 .0
18
18
hooks :
19
19
- id : debug-statements
20
20
- id : check-builtin-literals
@@ -33,32 +33,32 @@ repos:
33
33
# hooks:
34
34
# - id: prettier
35
35
- repo : https://github.com/asottile/pyupgrade
36
- rev : v3.15 .0
36
+ rev : v3.16 .0
37
37
hooks :
38
38
- id : pyupgrade
39
39
- repo : https://github.com/PyCQA/isort
40
40
rev : 5.13.2
41
41
hooks :
42
42
- id : isort
43
43
- repo : https://github.com/psf/black-pre-commit-mirror
44
- rev : 23.12.1
44
+ rev : 24.4.2
45
45
hooks :
46
46
- id : black
47
47
- repo : https://github.com/codespell-project/codespell
48
- rev : v2.2.6
48
+ rev : v2.3.0
49
49
hooks :
50
50
- id : codespell
51
51
- repo : https://github.com/PyCQA/flake8
52
- rev : 7.0 .0
52
+ rev : 7.1 .0
53
53
hooks :
54
54
- id : flake8
55
55
- repo : https://github.com/pre-commit/mirrors-mypy
56
- rev : v1.8.0
56
+ rev : v1.10.1
57
57
hooks :
58
58
- id : mypy
59
59
additional_dependencies : []
60
60
- repo : https://github.com/PyCQA/bandit
61
- rev : 1.7.6
61
+ rev : 1.7.9
62
62
hooks :
63
63
- id : bandit
64
64
args : [-x, tests]
Original file line number Diff line number Diff line change 5
5
6
6
MIT License applies.
7
7
"""
8
+
8
9
from __future__ import annotations
9
10
10
11
from sensor_state_data import (
Original file line number Diff line number Diff line change 1
1
"""Constants for Xiaomi BLE advertisements."""
2
+
2
3
from enum import Enum
3
4
4
5
from sensor_state_data import BaseDeviceClass
Original file line number Diff line number Diff line change 1
1
"""Event constants for xiaomi-ble."""
2
+
2
3
from __future__ import annotations
3
4
4
5
from sensor_state_data .enum import StrEnum
Original file line number Diff line number Diff line change 1
1
"""Constants for Xiaomi Locks."""
2
+
2
3
from enum import Enum
3
4
4
5
Original file line number Diff line number Diff line change 3
3
https://github.com/Ernst79/bleparser/blob/c42ae922e1abed2720c7fac993777e1bd59c0c93/package/bleparser/xiaomi.py
4
4
MIT License applies.
5
5
"""
6
+
6
7
from __future__ import annotations
7
8
8
9
import datetime
Original file line number Diff line number Diff line change 1
1
"""The tests for the Xiaomi ble parser."""
2
+
2
3
import logging
3
4
from unittest .mock import patch
4
5
You can’t perform that action at this time.
0 commit comments