Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit d59d44c

Browse files
committed
build: update pre-commit configuration from example
1 parent d56026a commit d59d44c

1 file changed

Lines changed: 28 additions & 18 deletions

File tree

.pre-commit-config.yaml

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,45 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v6.0.0
44
hooks:
5-
- id: check-added-large-files
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-toml
8+
- id: check-merge-conflict
9+
- id: check-ast
610
- id: check-case-conflict
11+
- id: check-docstring-first
712
- id: check-json
8-
- id: check-symlinks
913
- id: check-yaml
10-
- id: destroyed-symlinks
14+
- id: debug-statements
1115
- id: detect-private-key
12-
- id: end-of-file-fixer
13-
- id: fix-byte-order-marker
14-
- id: trailing-whitespace
1516
- id: mixed-line-ending
16-
args: [--fix=auto]
1717
- id: pretty-format-json
18-
args: [--autofix, --no-sort-keys]
18+
args: [--autofix, --indent, "4"]
19+
- repo: https://github.com/Lucas-C/pre-commit-hooks
20+
rev: v1.5.5
21+
hooks:
22+
- id: remove-crlf
23+
- id: forbid-crlf
24+
- repo: https://github.com/adrienverge/yamllint
25+
rev: v1.37.1
26+
hooks:
27+
- id: yamllint
28+
args: ["-d {extends: relaxed, rules: {line-length: disable}}", "-s"]
1929
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.6.4
30+
rev: v0.14.6
2131
hooks:
2232
- id: ruff
2333
args: [ --fix ]
2434
- id: ruff-format
2535
- repo: https://github.com/crate-ci/typos
26-
rev: v1.24.5
36+
rev: v1.39.2
2737
hooks:
2838
- id: typos
29-
- repo: https://github.com/python-poetry/poetry
30-
rev: '1.8.3'
31-
hooks:
32-
- id: poetry-check
33-
- id: poetry-lock
34-
- id: poetry-export
35-
- id: poetry-install
39+
- repo: https://github.com/python-poetry/poetry
40+
rev: '1.8.3'
41+
hooks:
42+
- id: poetry-check
43+
- id: poetry-lock
44+
- id: poetry-export
45+
- id: poetry-install

0 commit comments

Comments
 (0)