Skip to content

Commit 805d42c

Browse files
committed
chore: update pre-commit config file
1 parent 610d774 commit 805d42c

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,51 @@
11
---
22
repos:
33
- repo: https://github.com/psf/black
4-
rev: 22.3.0
4+
rev: 23.1.0
55
hooks:
66
- id: black
77
name: Check code formatting (black)
88
language_version: python3
9-
exclude: rdflib_web
109

11-
- repo: https://gitlab.com/pycqa/flake8
12-
rev: 4.0.1
10+
- repo: https://github.com/PyCQA/flake8
11+
rev: 6.0.0
1312
hooks:
1413
- id: flake8
1514
name: Check code formatting (flake8)
16-
exclude: rdflib_web
1715

18-
- repo: https://github.com/pre-commit/mirrors-isort
19-
rev: v5.4.2
16+
- repo: https://github.com/pycqa/isort
17+
rev: 5.12.0
2018
hooks:
2119
- id: isort
2220
name: Check the order of your imports (isort)
2321
additional_dependencies: [toml]
24-
exclude: rdflib_web
2522

2623
- repo: https://github.com/pre-commit/mirrors-mypy
27-
rev: v0.782
24+
rev: v0.991
2825
hooks:
2926
- id: mypy
3027

3128
- repo: https://github.com/PyCQA/doc8
32-
rev: 0.11.1
29+
rev: v1.1.1
3330
hooks:
3431
- id: doc8
3532
name: Checks the style of the documentation (doc8)
3633
args: [--max-line-length, "100"]
37-
exclude: rdflib_web
3834

3935
- repo: https://github.com/adrienverge/yamllint.git
40-
rev: v1.24.2
36+
rev: v1.29.0
4137
hooks:
4238
- id: yamllint
4339
name: Check YAML syntax (yamllint)
4440
args: [--strict]
4541

4642
- repo: https://github.com/pre-commit/pre-commit-hooks
47-
rev: v3.2.0
43+
rev: v4.4.0
4844
hooks:
4945
- id: check-ast
5046
name: Check whether files parse a valid Python (check-ast)
5147
- id: check-docstring-first
5248
name: Check the docstring placement (check-docstring-first)
53-
exclude: rdflib_web
5449
- id: check-toml
5550
name: Check the TOML syntax (check-toml)
5651
- id: check-yaml

0 commit comments

Comments
 (0)