Merge branch 'fix/isort' into 'master'

Use isort==4.3.21 for linting

See merge request open-mmlab/mmclassification!32
pull/2/head
chenkai 2020-07-05 19:44:32 +08:00
commit d7c4f4faf9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ linting:
image: $PYTORCH_IMAGE
stage: linting
script:
- pip install flake8 yapf isort
- pip install flake8 yapf isort==4.3.21
- flake8 .
- isort -rc --check-only --diff mmcls/ tools/ tests/
- yapf -r -d mmcls/ tools/ tests/ configs/