@@ -3,11 +3,11 @@ default_language_version:
3
3
python : python3.8
4
4
repos :
5
5
- repo : https://github.com/ambv/black
6
- rev : 22.12 .0
6
+ rev : 23.3 .0
7
7
hooks :
8
8
- id : black
9
9
- repo : https://github.com/pre-commit/pre-commit-hooks
10
- rev : v4.0.1
10
+ rev : v4.4.0
11
11
hooks :
12
12
# See https://pre-commit.com/hooks.html for more hooks
13
13
- id : check-ast
@@ -16,10 +16,42 @@ repos:
16
16
- id : check-merge-conflict
17
17
- id : debug-statements
18
18
- id : end-of-file-fixer
19
- # - id: name-tests-test
20
- # args: [ "--django" ]
19
+ - id : check-added-large-files
20
+ - id : check-shebang-scripts-are-executable
21
+ - id : check-symlinks
22
+ - id : check-yaml
23
+ - id : debug-statements
24
+ exclude : tests/
25
+ - id : destroyed-symlinks
26
+ - id : end-of-file-fixer
27
+ exclude : tests/test_changes/
28
+ files : \.(py|sh|rst|yml|yaml)$
29
+ - id : mixed-line-ending
21
30
- id : trailing-whitespace
22
- - repo : https://gitlab.com/pycqa/flake8
23
- rev : 3.9.2
24
- hooks :
25
- - id : flake8
31
+ files : \.(py|sh|rst|yml|yaml)$
32
+ - repo : https://github.com/PyCQA/flake8
33
+ rev : 6.0.0
34
+ hooks :
35
+ - id : flake8
36
+ additional_dependencies : [
37
+ ' flake8-blind-except' ,
38
+ ' flake8-docstrings' ,
39
+ ' flake8-bugbear' ,
40
+ ' flake8-comprehensions' ,
41
+ ' flake8-docstrings' ,
42
+ ' flake8-implicit-str-concat' ,
43
+ ' pydocstyle>=5.0.0' ,
44
+ ]
45
+ exclude : ^tests/test_cases/no_closing_bracket\.py$
46
+ - repo : https://github.com/rstcheck/rstcheck
47
+ rev : v6.1.1
48
+ hooks :
49
+ - id : rstcheck
50
+ args : [
51
+ --report-level=warning,
52
+ ]
53
+ - repo : https://github.com/codespell-project/codespell
54
+ rev : v2.2.2
55
+ hooks :
56
+ - id : codespell
57
+ files : \.(py|sh|rst|yml|yaml)$
0 commit comments