Skip to content

Commit 0153c0f

Browse files
committed
style: code style
1 parent 8d0fc94 commit 0153c0f

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.pre-commit-config.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,47 @@ default_language_version:
22
python: python3.9
33

44
repos:
5-
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
7-
hooks:
8-
- id: trailing-whitespace
9-
- id: end-of-file-fixer
10-
- id: check-yaml
11-
- id: check-json
12-
- id: check-toml
13-
- id: check-added-large-files
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.6.0
7+
hooks:
8+
- id: trailing-whitespace
9+
- id: end-of-file-fixer
10+
- id: check-yaml
11+
- id: check-json
12+
- id: check-toml
13+
- id: check-added-large-files
1414

15-
- repo: https://github.com/PyCQA/flake8
16-
rev: 7.1.0
17-
hooks:
18-
- id: flake8
19-
additional_dependencies:
20-
- flake8-bugbear
21-
- flake8-comprehensions
22-
- flake8-debugger
23-
- flake8-docstrings
24-
- flake8-string-format
25-
- flake8-type-checking
15+
- repo: https://github.com/PyCQA/flake8
16+
rev: 7.1.0
17+
hooks:
18+
- id: flake8
19+
additional_dependencies:
20+
- flake8-bugbear
21+
- flake8-comprehensions
22+
- flake8-debugger
23+
- flake8-docstrings
24+
- flake8-string-format
25+
- flake8-type-checking
2626

27-
- repo: https://github.com/psf/black.git
28-
rev: 24.4.2
29-
hooks:
30-
- id: black
27+
- repo: https://github.com/psf/black.git
28+
rev: 24.4.2
29+
hooks:
30+
- id: black
3131

32-
- repo: https://github.com/pycqa/isort
33-
rev: 5.13.2
34-
hooks:
35-
- id: isort
32+
- repo: https://github.com/pycqa/isort
33+
rev: 5.13.2
34+
hooks:
35+
- id: isort
3636

37-
- repo: https://github.com/adamchainz/blacken-docs
38-
rev: 1.18.0
39-
hooks:
40-
- id: blacken-docs
41-
additional_dependencies:
42-
- black==24.4.2
37+
- repo: https://github.com/adamchainz/blacken-docs
38+
rev: 1.18.0
39+
hooks:
40+
- id: blacken-docs
41+
additional_dependencies:
42+
- black==24.4.2
4343

44-
- repo: https://github.com/asottile/pyupgrade
45-
rev: v3.18.0
46-
hooks:
47-
- id: pyupgrade
48-
args: [--py39-plus]
44+
- repo: https://github.com/asottile/pyupgrade
45+
rev: v3.18.0
46+
hooks:
47+
- id: pyupgrade
48+
args: [--py39-plus]

0 commit comments

Comments
 (0)