From 74558aa2f7dd76c2f97991611d8b6e391875cc0d Mon Sep 17 00:00:00 2001 From: tripleMu Date: Tue, 31 Jan 2023 14:50:10 +0800 Subject: [PATCH] Use official isort --- .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 a7a68afb9..52bb607e8 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/zhouzaida/mirrors-isort - rev: 5.12.1 + - repo: https://gitee.com/openmmlab/mirrors-isort + rev: 5.11.5 hooks: - id: isort - repo: https://gitee.com/openmmlab/mirrors-yapf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 626d6492c..ffae20d2d 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/zhouzaida/isort - rev: 5.12.1 + - repo: https://github.com/PyCQA/isort + rev: 5.11.5 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-yapf