From 6cae40a45bede5925e61fc30bfa50585f82e27cb Mon Sep 17 00:00:00 2001 From: tripleMu Date: Sun, 29 Jan 2023 21:06:25 +0800 Subject: [PATCH] [Fix] Upgrade the version of isort to fix lint error (#2567) --- .pre-commit-config-zh-cn.yaml | 4 ++-- .pre-commit-config.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config-zh-cn.yaml b/.pre-commit-config-zh-cn.yaml index 73f0388fef..f31ec95d12 100644 --- a/.pre-commit-config-zh-cn.yaml +++ b/.pre-commit-config-zh-cn.yaml @@ -4,8 +4,8 @@ repos: rev: 5.0.4 hooks: - id: flake8 - - repo: https://gitee.com/openmmlab/mirrors-isort - rev: 5.10.1 + - repo: https://gitee.com/zhouzaida/mirrors-isort + rev: 5.12.1 hooks: - id: isort - repo: https://gitee.com/openmmlab/mirrors-yapf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f7fdf013a..4de37a559b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,8 +4,8 @@ repos: rev: 5.0.4 hooks: - id: flake8 - - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + - repo: https://github.com/zhouzaida/isort + rev: 5.12.1 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-yapf