[CI] Upgrade the version of isort to fix lint error (#2519)
## Motivation https://github.com/open-mmlab/mmeval/pull/85 --------- Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>pull/2518/head^2
parent
a115b10323
commit
b9b5d8bf52
|
@ -61,9 +61,9 @@ jobs:
|
|||
command: |
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git@main
|
||||
pip install -U openmim
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- run:
|
||||
name: Build and install
|
||||
|
@ -97,7 +97,6 @@ jobs:
|
|||
command: |
|
||||
git clone -b main --depth 1 https://github.com/open-mmlab/mmengine.git /home/circleci/mmengine
|
||||
git clone -b dev-1.x --depth 1 https://github.com/open-mmlab/mmclassification.git /home/circleci/mmclassification
|
||||
git clone -b dev-3.x --depth 1 https://github.com/open-mmlab/mmdetection.git /home/circleci/mmdetection
|
||||
- run:
|
||||
name: Build Docker image
|
||||
command: |
|
||||
|
@ -108,9 +107,9 @@ jobs:
|
|||
command: |
|
||||
docker exec mmseg pip install -e /mmengine
|
||||
docker exec mmseg pip install -U openmim
|
||||
docker exec mmseg mim install 'mmcv>=2.0.0rc3'
|
||||
docker exec mmseg mim install 'mmcv==2.0.0rc3'
|
||||
docker exec mmseg pip install -e /mmclassification
|
||||
docker exec mmseg pip install -e /mmdetection
|
||||
docker exec mmseg mim install 'mmdet==3.0.0rc5'
|
||||
docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- run:
|
||||
name: Build and install
|
||||
|
|
|
@ -44,9 +44,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -100,9 +100,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -166,9 +166,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -209,9 +209,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -246,7 +246,7 @@ jobs:
|
|||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
|
|
@ -44,9 +44,9 @@ jobs:
|
|||
run: |
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -100,9 +100,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
@ -135,9 +135,9 @@ jobs:
|
|||
python -V
|
||||
pip install -U openmim
|
||||
pip install git+https://github.com/open-mmlab/mmengine.git
|
||||
mim install 'mmcv>=2.0.0rc3'
|
||||
mim install 'mmcv==2.0.0rc3'
|
||||
pip install git+https://github.com/open-mmlab/mmclassification.git@dev-1.x
|
||||
pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
|
||||
mim install 'mmdet==3.0.0rc5'
|
||||
- name: Install unittest dependencies
|
||||
run: pip install -r requirements/tests.txt -r requirements/optional.txt
|
||||
- name: Build and install
|
||||
|
|
|
@ -3,8 +3,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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mmcls>=1.0.0rc0
|
||||
mmcv>=2.0.0rc3,<2.1.0
|
||||
mmdet>=3.0.0rc4
|
||||
mmcv==2.0.0rc3
|
||||
mmdet==3.0.0rc5
|
||||
mmengine>=0.1.0,<1.0.0
|
||||
|
|
Loading…
Reference in New Issue