setup.cfg 891 B

1234567891011121314151617181920212223242526272829303132
  1. [yapf]
  2. based_on_style = pep8
  3. blank_line_before_nested_class_or_def = true
  4. split_before_expression_after_opening_paren = true
  5. column_limit = 120
  6. [isort]
  7. line_length = 120
  8. multi_line_output = 0
  9. known_standard_library = setuptools
  10. known_third_party = PIL,cityscapesscripts,cv2,detail,matplotlib,mmcv,numpy,onnxruntime,packaging,prettytable,pytest,pytorch_sphinx_theme,requests,scipy,seaborn,torch,ts
  11. no_lines_before = STDLIB,LOCALFOLDER
  12. default_section = THIRDPARTY
  13. [codespell]
  14. skip = *.po,*.ts,*.ipynb
  15. count =
  16. quiet-level = 3
  17. ignore-words-list = formating,sur,hist
  18. [flake8]
  19. ignore = W503, E203, E221, C901, C408, E741, C407, B017, F811
  20. max-line-length = 120
  21. max-complexity = 18
  22. select = B,C,E,F,W,T4,B9
  23. exclude = build
  24. per-file-ignores =
  25. **/__init__.py:F401,F403,E402
  26. **/configs/**.py:F401,E402
  27. configs/**.py:F401,E402
  28. **/tests/config/**.py:F401,E402
  29. tests/config/**.py:F401,E402