setup.cfg 852 B

123456789101112131415161718192021
  1. [isort]
  2. line_length = 79
  3. multi_line_output = 0
  4. extra_standard_library = setuptools
  5. known_first_party = mmdet
  6. 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
  7. no_lines_before = STDLIB,LOCALFOLDER
  8. default_section = THIRDPARTY
  9. [yapf]
  10. BASED_ON_STYLE = pep8
  11. BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
  12. SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
  13. # ignore-words-list needs to be lowercase format. For example, if we want to
  14. # ignore word "BA", then we need to append "ba" to ignore-words-list rather
  15. # than "BA"
  16. [codespell]
  17. skip = *.ipynb
  18. quiet-level = 3
  19. ignore-words-list = patten,nd,ty,mot,hist,formating,winn,gool,datas,wan,confids,TOOD,tood,ba,warmup,nam,DOTA,dota