* fix docstrings * update pre-commit-hooks * chores --------- Co-authored-by: wangzy <wangziyi@pjlab.org.cn>
25 lines
902 B
INI
25 lines
902 B
INI
[isort]
|
|
line_length = 119
|
|
multi_line_output = 0
|
|
extra_standard_library = setuptools
|
|
known_first_party = mmdet
|
|
known_third_party = PIL,asynctest,cityscapesscripts,cv2,gather_models,matplotlib,mmcv,mmengine,numpy,onnx,onnxruntime,pycocotools,parameterized,pytest,pytorch_sphinx_theme,requests,scipy,seaborn,six,terminaltables,torch,ts,yaml
|
|
no_lines_before = STDLIB,LOCALFOLDER
|
|
default_section = THIRDPARTY
|
|
|
|
[yapf]
|
|
BASED_ON_STYLE = pep8
|
|
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
|
|
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
|
|
|
|
# ignore-words-list needs to be lowercase format. For example, if we want to
|
|
# ignore word "BA", then we need to append "ba" to ignore-words-list rather
|
|
# than "BA"
|
|
[codespell]
|
|
skip = *.ipynb
|
|
quiet-level = 3
|
|
ignore-words-list = patten,nd,ty,mot,hist,formating,winn,gool,datas,wan,confids,TOOD,tood,ba,warmup,nam,DOTA,dota,conveyer,astroid
|
|
|
|
[flake8]
|
|
max-line-length = 200
|