From 905ab79dbb32366ea2abf720a8da8477bc488d6b Mon Sep 17 00:00:00 2001 From: Peng Lu Date: Tue, 14 Jun 2022 23:17:42 +0800 Subject: [PATCH] modify mdformat setting (#1426) --- .pre-commit-config.yaml | 5 ++--- docs/zh_cn/faq.md | 46 ++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6648415f43..02dce3ed6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,10 +39,9 @@ repos: rev: 0.7.14 hooks: - id: mdformat - args: ["--number"] + args: ["--number", "--table-width", "200"] additional_dependencies: - - git+https://github.com/mzr1996/mdformat-tables.git#egg=mdformat-tables - - mdformat-gfm + - mdformat-openmmlab - mdformat_frontmatter - linkify-it-py - repo: local diff --git a/docs/zh_cn/faq.md b/docs/zh_cn/faq.md index feb02a3238..6a189a6b96 100644 --- a/docs/zh_cn/faq.md +++ b/docs/zh_cn/faq.md @@ -23,29 +23,29 @@ 这里列举了各版本 MMPose 对 MMCV 版本的依赖,请选择合适的 MMCV 版本来避免安装和使用中的问题。 -| MMPose 版本 | MMCV 版本 | -| :-------: | :-----------------------: | -| master | mmcv-full>=1.3.8, \<1.6.0 | -| 0.26.0 | mmcv-full>=1.3.8, \<1.6.0 | -| 0.25.1 | mmcv-full>=1.3.8, \<1.6.0 | -| 0.25.0 | mmcv-full>=1.3.8, \<1.5.0 | -| 0.24.0 | mmcv-full>=1.3.8, \<1.5.0 | -| 0.23.0 | mmcv-full>=1.3.8, \<1.5.0 | -| 0.22.0 | mmcv-full>=1.3.8, \<1.5.0 | -| 0.21.0 | mmcv-full>=1.3.8, \<1.5.0 | -| 0.20.0 | mmcv-full>=1.3.8, \<1.4.0 | -| 0.19.0 | mmcv-full>=1.3.8, \<1.4.0 | -| 0.18.0 | mmcv-full>=1.3.8, \<1.4.0 | -| 0.17.0 | mmcv-full>=1.3.8, \<1.4.0 | -| 0.16.0 | mmcv-full>=1.3.8, \<1.4.0 | -| 0.14.0 | mmcv-full>=1.1.3, \<1.4.0 | -| 0.13.0 | mmcv-full>=1.1.3, \<1.4.0 | -| 0.12.0 | mmcv-full>=1.1.3, \<1.3 | -| 0.11.0 | mmcv-full>=1.1.3, \<1.3 | -| 0.10.0 | mmcv-full>=1.1.3, \<1.3 | -| 0.9.0 | mmcv-full>=1.1.3, \<1.3 | -| 0.8.0 | mmcv-full>=1.1.1, \<1.2 | -| 0.7.0 | mmcv-full>=1.1.1, \<1.2 | +| MMPose 版本 | MMCV 版本 | +| :---------: | :-----------------------: | +| master | mmcv-full>=1.3.8, \<1.6.0 | +| 0.26.0 | mmcv-full>=1.3.8, \<1.6.0 | +| 0.25.1 | mmcv-full>=1.3.8, \<1.6.0 | +| 0.25.0 | mmcv-full>=1.3.8, \<1.5.0 | +| 0.24.0 | mmcv-full>=1.3.8, \<1.5.0 | +| 0.23.0 | mmcv-full>=1.3.8, \<1.5.0 | +| 0.22.0 | mmcv-full>=1.3.8, \<1.5.0 | +| 0.21.0 | mmcv-full>=1.3.8, \<1.5.0 | +| 0.20.0 | mmcv-full>=1.3.8, \<1.4.0 | +| 0.19.0 | mmcv-full>=1.3.8, \<1.4.0 | +| 0.18.0 | mmcv-full>=1.3.8, \<1.4.0 | +| 0.17.0 | mmcv-full>=1.3.8, \<1.4.0 | +| 0.16.0 | mmcv-full>=1.3.8, \<1.4.0 | +| 0.14.0 | mmcv-full>=1.1.3, \<1.4.0 | +| 0.13.0 | mmcv-full>=1.1.3, \<1.4.0 | +| 0.12.0 | mmcv-full>=1.1.3, \<1.3 | +| 0.11.0 | mmcv-full>=1.1.3, \<1.3 | +| 0.10.0 | mmcv-full>=1.1.3, \<1.3 | +| 0.9.0 | mmcv-full>=1.1.3, \<1.3 | +| 0.8.0 | mmcv-full>=1.1.1, \<1.2 | +| 0.7.0 | mmcv-full>=1.1.1, \<1.2 | - **无法安装 xtcocotools**