File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
default_stages : [commit]
2
2
repos :
3
3
- repo : https://github.com/ambv/black
4
- rev : 21.9b0
4
+ rev : 22.3.0
5
5
hooks :
6
6
- id : black
7
7
language_version : python3
@@ -13,37 +13,38 @@ repos:
13
13
- id : flake8
14
14
15
15
- repo : https://github.com/pre-commit/mirrors-mypy
16
- rev : v0.910
16
+ rev : v0.961
17
17
hooks :
18
18
- id : mypy
19
+ additional_dependencies : [types-requests]
19
20
20
21
- repo : https://github.com/pre-commit/pre-commit-hooks
21
- rev : v4.0.1
22
+ rev : v4.3.0
22
23
hooks :
23
24
- id : check-json
24
25
- id : check-added-large-files
25
26
- id : check-yaml
26
27
27
28
- repo : https://github.com/pre-commit/mirrors-isort
28
- rev : v5.9.3
29
+ rev : v5.10.1
29
30
hooks :
30
31
- id : isort
31
32
args : [--settings-path, setup.cfg]
32
33
33
34
- repo : https://github.com/Woile/commitizen
34
- rev : v2.18 .1
35
+ rev : v2.27 .1
35
36
hooks :
36
37
- id : commitizen
37
38
# don't forget to run pre-commit install --hook-type commit-msg for this hook to run
38
39
stages : [commit-msg]
39
40
40
41
- repo : https://github.com/pre-commit/mirrors-prettier # to format JSON, YAML and markdown files among others
41
- rev : v2.4 .1
42
+ rev : v2.7 .1
42
43
hooks :
43
44
- id : prettier
44
45
45
46
- repo : https://github.com/gitguardian/gg-shield
46
- rev : v1.8.2
47
+ rev : v1.12.0
47
48
hooks :
48
49
- id : ggshield
49
50
language_version : python3
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ pygitguardian = { editable = true, path = "." }
9
9
requests = " >=2"
10
10
11
11
[dev-packages ]
12
- black = " ==21.9b0 "
12
+ black = " ==22.3.0 "
13
13
coverage = " *"
14
14
flake8 = " *"
15
15
flake8-isort = " *"
@@ -18,4 +18,5 @@ isort = "*"
18
18
pre-commit = " *"
19
19
pytest = " *"
20
20
vcrpy = " *"
21
- mypy = " *"
21
+ mypy = " ==0.961"
22
+ types-requests = " *"
You can’t perform that action at this time.
0 commit comments