mirror of https://github.com/open-mmlab/mmcv.git
Fix the version of isort (#385)
parent
4004a3d7b6
commit
e2ee171a4a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue