.isort.cfg 1.3 KB

1234567891011121314151617181920212223242526
  1. [settings]
  2. # This is to make isort compatible with Black. See
  3. # https://black.readthedocs.io/en/stable/the_black_code_style.html#how-black-wraps-lines.
  4. line_length=88
  5. profile=black
  6. multi_line_output=3
  7. include_trailing_comma=True
  8. use_parentheses=True
  9. float_to_top=True
  10. filter_files=True
  11. # Some of the directories need to be kept in the blacklist:
  12. # python/ray/cloudpickle/*
  13. # python/build/*
  14. # python/ray/thirdparty_files/*
  15. # python/ray/_private/thirdparty/*
  16. # doc/*
  17. # python/ray/__init__.py
  18. # python/ray/setup-dev.py
  19. # For the rest we will gradually remove them from the blacklist as we
  20. # reformat the code to follow the style guide.
  21. skip_glob=doc/*,python/ray/__init__.py,python/ray/setup-dev.py,python/build/*,python/ray/cloudpickle/*,python/ray/thirdparty_files/*,python/ray/_private/thirdparty/*,python/ray/dag/*.py,ci/*,python/ray/_private/*,python/ray/air/*,dashboard/*,python/ray/data/*,python/ray/includes/*,python/ray/internal/*,python/ray/ray_operator/*,python/ray/scripts/*,python/ray/serve/*,python/ray/serve/__init__.py,python/ray/sgd/*,python/ray/streaming/*,python/ray/tests/*,python/ray/tests/*,python/ray/train/*,python/ray/tune/*,python/ray/util/*,python/ray/workers/*,python/ray/workflow/*,rllib/*,release/*,
  22. known_local_folder=ray
  23. known_afterray=psutil,setproctitle
  24. sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER,AFTERRAY