Skip to content

Commit 761c283

Browse files
committed
update pre-commit-config
1 parent ce87337 commit 761c283

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

.pre-commit-config.yaml

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
11
repos:
2+
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
3+
rev: v0.6.0post1
4+
hooks:
5+
- id: pre-commit-update
6+
27
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
8+
rev: v5.0.0
49
hooks:
510
- id: check-added-large-files
6-
- id: check-docstring-first
7-
- id: check-executables-have-shebangs
11+
- id: check-ast
12+
- id: check-toml
813
- id: check-yaml
14+
- id: debug-statements
15+
- id: check-case-conflict
916
- id: end-of-file-fixer
10-
- id: trailing-whitespace
17+
- id: detect-private-key
18+
- id: mixed-line-ending
19+
- id: requirements-txt-fixer
20+
21+
- repo: https://github.com/codespell-project/codespell
22+
rev: v2.3.0
23+
hooks:
24+
- id: codespell
25+
additional_dependencies:
26+
- tomli
1127

1228
- repo: https://github.com/psf/black
13-
rev: 24.2.0
29+
rev: 24.10.0
1430
hooks:
1531
- id: black
1632

1733
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.2.1
34+
rev: v0.8.0
1935
hooks:
20-
- id: ruff
21-
args: [ --fix, --exit-non-zero-on-fix ]
36+
- id: ruff
2237

23-
- repo: https://github.com/codespell-project/codespell
24-
rev: v2.2.6
25-
hooks:
26-
- id: codespell
27-
args:
28-
- --ignore-words-list=hass
38+
- repo: https://github.com/gitleaks/gitleaks
39+
rev: v8.21.2
40+
hooks:
41+
- id: gitleaks

0 commit comments

Comments
 (0)