setup.cfg 557 B

12345678910111213141516171819202122
  1. [flake8]
  2. ignore =
  3. # line break before binary operator (W503)
  4. W503,
  5. # line break after binary operator (W504)
  6. W504,
  7. max-line-length=120
  8. [yapf]
  9. based_on_style = pep8
  10. column_limit = 120
  11. blank_line_before_nested_class_or_def = true
  12. split_before_expression_after_opening_paren = true
  13. [isort]
  14. line_length = 120
  15. multi_line_output = 0
  16. known_standard_library = pkg_resources,setuptools
  17. known_first_party = realesrgan
  18. known_third_party = PIL,basicsr,cv2,numpy,torch,torchvision,tqdm
  19. no_lines_before = STDLIB,LOCALFOLDER
  20. default_section = THIRDPARTY