setup.cfg 684 B

123456789101112131415161718192021222324252627282930313233
  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,pytest,torch,torchvision,tqdm,yaml
  19. no_lines_before = STDLIB,LOCALFOLDER
  20. default_section = THIRDPARTY
  21. [codespell]
  22. skip = .git,./docs/build
  23. count =
  24. quiet-level = 3
  25. [aliases]
  26. test=pytest
  27. [tool:pytest]
  28. addopts=tests/