Skip to content

Commit

Permalink
[Docs] Fix mdformat version to support python3.6 and remove ruby inst…
Browse files Browse the repository at this point in the history
…all (#154)

* [Docs] Fix mdformat version to support python3.6

* [Docs] Fix mdformat version to support python3.6
  • Loading branch information
MeowZheng authored Jun 16, 2022
1 parent b863406 commit 0514e24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
python-version: 3.7
- name: Install pre-commit hook
run: |
# markdownlint requires ruby >= 2.7
sudo apt-add-repository ppa:brightbox/ruby-ng -y
sudo apt-get update
sudo apt-get install -y ruby2.7
pip install pre-commit
pre-commit install
- name: Linting
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ repos:
hooks:
- id: codespell
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
rev: 0.7.9
hooks:
- id: mdformat
args: ["--number"]
additional_dependencies:
- mdformat-gfm
- mdformat-openmmlab
- mdformat_frontmatter
- linkify-it-py
- repo: https://github.com/myint/docformatter
Expand Down

0 comments on commit 0514e24

Please sign in to comment.