File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
repos :
3
3
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v2.2.1
4
+ rev : v2.2.3
5
5
hooks :
6
6
- id : check-executables-have-shebangs
7
7
- id : check-json
23
23
- id : requirements-txt-fixer
24
24
- id : trailing-whitespace
25
25
- repo : https://github.com/igorshubovych/markdownlint-cli
26
- rev : v0.15 .0
26
+ rev : v0.16 .0
27
27
hooks :
28
28
- id : markdownlint
29
29
# The LICENSE.md must match the license text exactly for
35
35
hooks :
36
36
- id : yamllint
37
37
- repo : https://github.com/detailyang/pre-commit-shell
38
- rev : 1.0.4
38
+ rev : 1.0.5
39
39
hooks :
40
40
- id : shell-lint
41
41
- repo : https://gitlab.com/pycqa/flake8
@@ -45,11 +45,11 @@ repos:
45
45
additional_dependencies :
46
46
- flake8-docstrings
47
47
- repo : https://github.com/asottile/pyupgrade
48
- rev : v1.16.3
48
+ rev : v1.17.1
49
49
hooks :
50
50
- id : pyupgrade
51
51
- repo : https://github.com/PyCQA/bandit
52
- rev : 2a1dbab
52
+ rev : 1.6.0
53
53
hooks :
54
54
- id : bandit
55
55
args :
74
74
hooks :
75
75
- id : docker-compose-check
76
76
- repo : https://github.com/prettier/prettier
77
- rev : 1.17.0
77
+ rev : 1.17.1
78
78
hooks :
79
79
- id : prettier
Original file line number Diff line number Diff line change 2
2
dist : xenial
3
3
language : python
4
4
python : 3.7
5
+ # pre-commit hooks can use Docker, so we should go ahead and enable it
5
6
services : docker
6
7
8
+ # Cache pip packages and pre-commit plugins to speed up builds
9
+ cache :
10
+ pip : true
11
+ directories :
12
+ - $HOME/.cache/pre-commit
13
+
7
14
install :
8
15
- pip install --upgrade -r requirements-test.txt
9
16
script :
You can’t perform that action at this time.
0 commit comments