Skip to content

Commit 0ee3610

Browse files
chore(pre-commit.ci): pre-commit autoupdate (#82)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f789ff7 commit 0ee3610

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

.pre-commit-config.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v3.2.2
12+
rev: v3.27.0
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
1616
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v4.5.0
17+
rev: v4.6.0
1818
hooks:
1919
- id: debug-statements
2020
- id: check-builtin-literals
@@ -33,32 +33,32 @@ repos:
3333
# hooks:
3434
# - id: prettier
3535
- repo: https://github.com/asottile/pyupgrade
36-
rev: v3.15.0
36+
rev: v3.16.0
3737
hooks:
3838
- id: pyupgrade
3939
- repo: https://github.com/PyCQA/isort
4040
rev: 5.13.2
4141
hooks:
4242
- id: isort
4343
- repo: https://github.com/psf/black-pre-commit-mirror
44-
rev: 23.12.1
44+
rev: 24.4.2
4545
hooks:
4646
- id: black
4747
- repo: https://github.com/codespell-project/codespell
48-
rev: v2.2.6
48+
rev: v2.3.0
4949
hooks:
5050
- id: codespell
5151
- repo: https://github.com/PyCQA/flake8
52-
rev: 7.0.0
52+
rev: 7.1.0
5353
hooks:
5454
- id: flake8
5555
- repo: https://github.com/pre-commit/mirrors-mypy
56-
rev: v1.8.0
56+
rev: v1.10.1
5757
hooks:
5858
- id: mypy
5959
additional_dependencies: []
6060
- repo: https://github.com/PyCQA/bandit
61-
rev: 1.7.6
61+
rev: 1.7.9
6262
hooks:
6363
- id: bandit
6464
args: [-x, tests]

src/xiaomi_ble/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
MIT License applies.
77
"""
8+
89
from __future__ import annotations
910

1011
from sensor_state_data import (

src/xiaomi_ble/const.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Constants for Xiaomi BLE advertisements."""
2+
23
from enum import Enum
34

45
from sensor_state_data import BaseDeviceClass

src/xiaomi_ble/events.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Event constants for xiaomi-ble."""
2+
23
from __future__ import annotations
34

45
from sensor_state_data.enum import StrEnum

src/xiaomi_ble/locks.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Constants for Xiaomi Locks."""
2+
23
from enum import Enum
34

45

src/xiaomi_ble/parser.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
https://github.com/Ernst79/bleparser/blob/c42ae922e1abed2720c7fac993777e1bd59c0c93/package/bleparser/xiaomi.py
44
MIT License applies.
55
"""
6+
67
from __future__ import annotations
78

89
import datetime

tests/test_parser.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""The tests for the Xiaomi ble parser."""
2+
23
import logging
34
from unittest.mock import patch
45

0 commit comments

Comments
 (0)