Skip to content

Commit f894b01

Browse files
authored
update pre-commit hooks
1 parent 1c9e1a7 commit f894b01

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
22
repos:
33
- repo: https://github.com/codespell-project/codespell
4-
rev: v2.2.4
4+
rev: v2.3.0
55
hooks:
66
- id: codespell
77
additional_dependencies:
88
- tomli
99
exclude_types: [csv, json]
1010
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.4.0
11+
rev: v3.18.0
1212
hooks:
1313
- id: pyupgrade
1414
args: [--py39-plus]
1515
- repo: https://github.com/psf/black
16-
rev: 23.3.0
16+
rev: 24.10.0
1717
hooks:
1818
- id: black
1919
args:
2020
- --safe
2121
- --quiet
2222
files: ^((xknx|test|examples|docs)/.+)?[^/]+\.py$
2323
- repo: https://github.com/pycqa/flake8
24-
rev: 6.0.0
24+
rev: 7.1.1
2525
hooks:
2626
- id: flake8
2727
additional_dependencies:
@@ -30,19 +30,19 @@ repos:
3030
- pydocstyle==6.3.0
3131
files: ^(xknx|examples|docs)/.+\.py$
3232
- repo: https://github.com/PyCQA/isort
33-
rev: 5.12.0
33+
rev: 5.13.2
3434
hooks:
3535
- id: isort
3636
args:
3737
- --resolve-all-configs
3838
- repo: https://github.com/charliermarsh/ruff-pre-commit
3939
# Ruff version.
40-
rev: 'v0.0.265'
40+
rev: 'v0.6.9'
4141
hooks:
4242
- id: ruff
4343
args: [ --fix, --exit-non-zero-on-fix ]
4444
- repo: https://github.com/pre-commit/pre-commit-hooks
45-
rev: v4.4.0
45+
rev: v5.0.0
4646
hooks:
4747
- id: check-executables-have-shebangs
4848
stages: [manual]
@@ -52,7 +52,7 @@ repos:
5252
- --branch=main
5353
- id: trailing-whitespace
5454
- repo: https://github.com/cdce8p/python-typing-update
55-
rev: v0.5.1
55+
rev: v0.7.0
5656
hooks:
5757
# Run `pre-commit run --hook-stage manual python-typing-update --all-files` manually
5858
# from time to time to update python typing syntax.

0 commit comments

Comments
 (0)