Skip to content

Commit f6dba9d

Browse files
deprecate ruby (#591)
1 parent 8b45843 commit f6dba9d

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

.circleci/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ jobs:
66
- image: cimg/python:3.7.4
77
steps:
88
- 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
159
- run:
1610
name: Install pre-commit hook
1711
command: |

.github/workflows/lint.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
python-version: 3.7
1818
- name: Install pre-commit hook
1919
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
2420
pip install pre-commit
2521
pre-commit install
2622
- name: Linting

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ repos:
3434
- id: docformatter
3535
args: ["--in-place", "--wrap-descriptions", "79"]
3636
- repo: https://github.com/executablebooks/mdformat
37-
rev: 0.7.14
37+
rev: 0.7.9
3838
hooks:
3939
- id: mdformat
4040
args: ["--number"]
4141
additional_dependencies:
42-
- mdformat-gfm
42+
- mdformat-openmmlab
4343
- mdformat_frontmatter
4444
- linkify-it-py
4545
- repo: https://github.com/open-mmlab/pre-commit-hooks

0 commit comments

Comments
 (0)