Skip to content

Commit bd511a4

Browse files
arturdryomovhashhar
authored andcommitted
Update pre-commit configuration
1 parent 8f5dfdf commit bd511a4

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.pre-commit-config.yaml

+17-12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
repos:
22
- repo: "https://github.com/PyCQA/flake8"
3-
rev: "7.0.0"
3+
rev: "7.1.1"
44
hooks:
55
- id: "flake8"
66
name: "Python: analysis"
77

88
- repo: "https://github.com/pre-commit/mirrors-mypy"
9-
rev: "v1.8.0"
9+
rev: "v1.13.0"
1010
hooks:
1111
- id: "mypy"
1212
name: "Python: types"
1313

14-
- repo: https://github.com/pycqa/isort
14+
- repo: "https://github.com/PyCQA/isort"
1515
rev: "5.13.2"
1616
hooks:
17-
- id: isort
18-
args: [ "--profile", "black"]
17+
- id: "isort"
18+
name: "Python: imports"
19+
args: ["--profile", "black"]
1920

20-
- repo: https://github.com/pre-commit/pre-commit-hooks
21-
rev: "v4.5.0"
21+
- repo: "https://github.com/pre-commit/pre-commit-hooks"
22+
rev: "v5.0.0"
2223
hooks:
23-
- id: check-yaml
24-
args: [--unsafe]
25-
- id: end-of-file-fixer
26-
- id: trailing-whitespace
24+
- id: "check-yaml"
25+
name: "YAML: syntax"
26+
args: ["--unsafe"]
27+
- id: "end-of-file-fixer"
28+
name: "All: newlines at EOF"
29+
- id: "trailing-whitespace"
30+
name: "All: no trailing whitespaces"
2731
exclude_types:
2832
- "markdown"
29-
- id: check-case-conflict
33+
- id: "check-case-conflict"
34+
name: "All: case-insensitive filesystem conflicts"

0 commit comments

Comments
 (0)