Skip to content

Commit 6f297c9

Browse files
chore(pre-commit.ci): pre-commit autoupdate (#273)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1234f5f commit 6f297c9

25 files changed

+31
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
exclude: "CHANGELOG.md"
4-
default_stages: [commit]
4+
default_stages: [pre-commit]
55

66
ci:
77
autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
88
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v3.2.2
12+
rev: v3.31.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: v5.0.0
1818
hooks:
1919
- id: debug-statements
2020
- id: check-builtin-literals
@@ -29,22 +29,22 @@ repos:
2929
- id: trailing-whitespace
3030
- id: debug-statements
3131
- repo: https://github.com/pre-commit/mirrors-prettier
32-
rev: v3.1.0
32+
rev: v4.0.0-alpha.8
3333
hooks:
3434
- id: prettier
3535
- repo: https://github.com/asottile/pyupgrade
36-
rev: v3.15.0
36+
rev: v3.19.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.10.0
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

switchbot/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Library to handle connection with Switchbot."""
2+
23
from __future__ import annotations
34

45
from bleak_retry_connector import (

switchbot/adv_parsers/blind_tilt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Library to handle connection with Switchbot."""
2+
23
from __future__ import annotations
34

45

switchbot/adv_parsers/bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Library to handle connection with Switchbot."""
2+
23
from __future__ import annotations
34

45

switchbot/adv_parsers/bulb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Bulb parser."""
2+
23
from __future__ import annotations
34

45

switchbot/adv_parsers/ceiling_light.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Ceiling Light adv parser."""
2+
23
from __future__ import annotations
34

45
import logging

switchbot/adv_parsers/contact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Contact sensor parser."""
2+
23
from __future__ import annotations
34

45

switchbot/adv_parsers/curtain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Library to handle connection with Switchbot."""
2+
23
from __future__ import annotations
34

45

switchbot/adv_parsers/humidifier.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Humidifier adv parser."""
2+
23
from __future__ import annotations
34

45
import logging

switchbot/adv_parsers/light_strip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Light strip adv parser."""
2+
23
from __future__ import annotations
34

45

0 commit comments

Comments
 (0)