Skip to content

Commit

Permalink
[Enhancement] Upgrade isort in pre-commit hook (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZheng authored Feb 8, 2022
1 parent ed3cdb7 commit 9c44cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ repos:
rev: 3.8.3
hooks:
- id: flake8
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-yapf
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[isort]
line_length = 79
multi_line_output = 0
known_standard_library = setuptools
extra_standard_library = setuptools
known_first_party = mmflow
known_third_party = PIL,cv2,matplotlib,mmcv,numpy,pytest,pytorch_sphinx_theme,requests,torch,torchvision,ts
no_lines_before = STDLIB,LOCALFOLDER
Expand Down

0 comments on commit 9c44cdc

Please sign in to comment.