File tree 3 files changed +2
-12
lines changed
3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 6
6
- image : cimg/python:3.7.4
7
7
steps :
8
8
- checkout
9
- - run :
10
- name : Install dependencies
11
- command : |
12
- sudo apt-add-repository ppa:brightbox/ruby-ng -y
13
- sudo apt-get update
14
- sudo apt-get install -y ruby2.7
15
9
- run :
16
10
name : Install pre-commit hook
17
11
command : |
Original file line number Diff line number Diff line change 17
17
python-version : 3.7
18
18
- name : Install pre-commit hook
19
19
run : |
20
- # markdownlint requires ruby >= 2.7
21
- sudo apt-add-repository ppa:brightbox/ruby-ng -y
22
- sudo apt-get update
23
- sudo apt-get install -y ruby2.7
24
20
pip install pre-commit
25
21
pre-commit install
26
22
- name : Linting
Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ repos:
34
34
- id : docformatter
35
35
args : ["--in-place", "--wrap-descriptions", "79"]
36
36
- repo : https://github.com/executablebooks/mdformat
37
- rev : 0.7.14
37
+ rev : 0.7.9
38
38
hooks :
39
39
- id : mdformat
40
40
args : ["--number"]
41
41
additional_dependencies :
42
- - mdformat-gfm
42
+ - mdformat-openmmlab
43
43
- mdformat_frontmatter
44
44
- linkify-it-py
45
45
- repo : https://github.com/open-mmlab/pre-commit-hooks
You can’t perform that action at this time.
0 commit comments