Skip to content

Commit e665285

Browse files
authored
update isort version (#1)
1 parent 867bac5 commit e665285

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ repos:
33
rev: 3.8.3
44
hooks:
55
- id: flake8
6-
- repo: https://github.com/asottile/seed-isort-config
7-
rev: v2.2.0
8-
hooks:
9-
- id: seed-isort-config
10-
- repo: https://github.com/timothycrosley/isort
11-
rev: 4.3.21
6+
- repo: https://github.com/PyCQA/isort
7+
rev: 5.10.1
128
hooks:
139
- id: isort
1410
- repo: https://github.com/pre-commit/mirrors-yapf

setup.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[isort]
22
line_length = 79
33
multi_line_output = 0
4-
known_standard_library = setuptools
4+
extra_standard_library = setuptools
55
known_first_party = mmengine
6-
known_third_party = yaml
6+
known_third_party = pytest,yaml
77
no_lines_before = STDLIB,LOCALFOLDER
88
default_section = THIRDPARTY
99

@@ -13,6 +13,4 @@ BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
1313
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
1414

1515
[codespell]
16-
skip = *.ipynb
17-
quiet-level = 3
1816
ignore-words-list = nd

0 commit comments

Comments
 (0)