Skip to content

Commit e9544b6

Browse files
authored
Update .pre-commit-config.yaml
1 parent 3f1259a commit e9544b6

File tree

1 file changed

+9
-24
lines changed

1 file changed

+9
-24
lines changed

.pre-commit-config.yaml

+9-24
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,22 @@ repos:
88
additional_dependencies: ["style-print"]
99
pass_filenames: false
1010
verbose: true
11-
12-
- id: lint
13-
name: Run sphinx-lint on .po files
14-
entry: sphinx-lint
15-
language: python
16-
additional_dependencies: ["sphinx-lint"]
17-
files: \.po$
18-
19-
- repo: https://github.com/pycqa/isort
20-
rev: 5.12.0
21-
hooks:
22-
- id: isort
23-
name: isort (python)
24-
25-
- repo: https://github.com/psf/black
26-
rev: 23.1.0
11+
12+
- repo: https://github.com/psf/black-pre-commit-mirror
13+
rev: 23.9.1
2714
hooks:
2815
- id: black
29-
name: Run black on Python files
30-
args: ["--target-version=py311"]
31-
files: \.py$
3216

3317
- repo: https://github.com/pre-commit/pre-commit-hooks
3418
rev: v4.4.0
3519
hooks:
20+
- id: check-case-conflict
21+
- id: check-merge-conflict
22+
- id: check-yaml
3623
- id: end-of-file-fixer
3724
- id: trailing-whitespace
3825

39-
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v2.7.1
26+
- repo: https://github.com/sphinx-contrib/sphinx-lint
27+
rev: v0.6.8
4128
hooks:
42-
- id: prettier
43-
name: Run prettier on .yml and .yaml files
44-
types: [yaml]
29+
- id: sphinx-lint

0 commit comments

Comments
 (0)