Skip to content

Commit 6f83309

Browse files
committed
⬆️ update pre-commit
1 parent 51744e3 commit 6f83309

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
repos:
2+
23
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
4+
rev: v4.5.0
45
hooks:
56
- id: check-yaml
67
- id: end-of-file-fixer
78
- id: trailing-whitespace
8-
- repo: https://github.com/psf/black
9-
rev: 23.7.0
10-
hooks:
11-
- id: black
9+
1210
- repo: https://github.com/pre-commit/mirrors-mypy
13-
rev: v1.4.1
11+
rev: v1.7.1
1412
hooks:
1513
- id: mypy
1614
args: [--ignore-missing-imports, --follow-imports=skip]
1715
additional_dependencies: [types-requests]
16+
1817
- repo: https://github.com/pre-commit/mirrors-isort
19-
rev: v5.9.3
18+
rev: v5.10.1
2019
hooks:
2120
- id: isort
22-
args: [--profile=black]
23-
- repo: https://github.com/PYCQA/flake8
24-
rev: 6.1.0
21+
22+
- repo: https://github.com/astral-sh/ruff-pre-commit
23+
rev: v0.1.7
2524
hooks:
26-
- id: flake8
27-
args: [--max-line-length=120]
25+
- id: ruff
26+
args: [ --fix ]
27+
- id: ruff-format
28+
types_or: [ python, pyi, jupyter ]

0 commit comments

Comments
 (0)