Unverified Commit e2ee171a authored by Kai Chen's avatar Kai Chen Committed by GitHub
Browse files

Fix the version of isort (#385)

parent 4004a3d7
...@@ -15,11 +15,11 @@ jobs: ...@@ -15,11 +15,11 @@ jobs:
- name: Install linting dependencies - name: Install linting dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 isort yapf pip install flake8 yapf isort==4.3.21
- name: Lint with flake8 - name: Lint with flake8
run: flake8 --max-complexity 20 . run: flake8 --max-complexity 20 .
- name: Lint with isort - 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 - name: Format python codes with yapf
run: yapf -r -d mmcv/ tests/ examples/ run: yapf -r -d mmcv/ tests/ examples/
- name: Format c/cuda codes with clang-format - name: Format c/cuda codes with clang-format
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment