Skip to content

Commit cda4978

Browse files
committed
Update workflow
1 parent 89172e8 commit cda4978

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pre-commit-config.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ repos:
77
language: script
88
files: ^(custom_components/.+/const\.py|requirements\.txt)$
99
- repo: https://github.com/charliermarsh/ruff-pre-commit
10-
rev: v0.3.5
10+
rev: v0.6.9
1111
hooks:
1212
- id: ruff
13-
args:
14-
- --fix
13+
args: [ --fix ]
14+
files: ^(custom_components|bin|tests)/.+\.py$
15+
- id: ruff-format
1516
files: ^(custom_components|bin|tests)/.+\.py$
1617
- repo: https://github.com/asottile/pyupgrade
1718
rev: v3.15.2

0 commit comments

Comments
 (0)