Fix the version of isort (#385)

pull/386/head
Kai Chen 2020-07-05 11:12:02 +08:00 committed by GitHub
parent 4004a3d7b6
commit e2ee171a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ jobs:
- name: Install linting dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 isort yapf
pip install flake8 yapf isort==4.3.21
- name: Lint with flake8
run: flake8 --max-complexity 20 .
- name: Lint with isort
run: isort -rc --check-only --diff mmcv/ tests/ examples/
run: isort --recursive --check-only --diff mmcv/ tests/ examples/
- name: Format python codes with yapf
run: yapf -r -d mmcv/ tests/ examples/
- name: Format c/cuda codes with clang-format