Skip to content

Commit 3f0ad9d

Browse files
committed
Swtich from black to ruff format
1 parent 4eaf19e commit 3f0ad9d

1 file changed

Lines changed: 22 additions & 26 deletions

File tree

.pre-commit-config.yaml

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
repos:
2-
- repo: https://github.com/psf/black-pre-commit-mirror
3-
rev: "25.1.0"
4-
hooks:
5-
- id: black
6-
- repo: https://github.com/pycqa/isort
7-
rev: "6.0.1"
8-
hooks:
9-
- id: isort
10-
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: "v5.0.0"
12-
hooks:
13-
- id: check-json
14-
- id: end-of-file-fixer
15-
- id: trailing-whitespace
16-
- repo: https://github.com/abravalheri/validate-pyproject
17-
rev: "v0.24.1"
18-
hooks:
19-
- id: validate-pyproject
20-
- repo: local
21-
hooks:
22-
- id: stubgen
23-
name: check API stub files
24-
entry: scripts/stubgen.py
25-
description: check if stub files of the APIs are up-to-date
26-
language: script
27-
types: [python]
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.12.1
4+
hooks:
5+
- id: ruff-format
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: "v5.0.0"
8+
hooks:
9+
- id: check-json
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
- repo: https://github.com/abravalheri/validate-pyproject
13+
rev: "v0.24.1"
14+
hooks:
15+
- id: validate-pyproject
16+
- repo: local
17+
hooks:
18+
- id: stubgen
19+
name: check API stub files
20+
entry: scripts/stubgen.py
21+
description: check if stub files of the APIs are up-to-date
22+
language: script
23+
types: [python]

0 commit comments

Comments
 (0)