.flake8 805 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [flake8]
  2. exclude =
  3. python/ray/core/generated/
  4. doc/source/conf.py
  5. python/ray/cloudpickle/
  6. python/ray/thirdparty_files/
  7. python/build/
  8. python/.eggs/
  9. python/ray/_private/thirdparty/*
  10. python/ray/workflow/tests/mock_server.py
  11. python/ray/serve/tests/test_config_files/syntax_error.py
  12. max-line-length = 88
  13. inline-quotes = "
  14. ignore =
  15. C408
  16. C417
  17. E121
  18. E123
  19. E126
  20. E203
  21. E226
  22. E24
  23. E704
  24. W503
  25. W504
  26. W605
  27. I
  28. N
  29. B001
  30. B002
  31. B003
  32. B004
  33. B005
  34. B007
  35. B008
  36. B009
  37. B010
  38. B011
  39. B012
  40. B013
  41. B014
  42. B015
  43. B016
  44. B017
  45. avoid-escape = no
  46. # Error E731 is ignored because of the migration from YAPF to Black.
  47. # See https://github.com/ray-project/ray/issues/21315 for more information.
  48. per-file-ignores =
  49. rllib/evaluation/worker_set.py:E731
  50. rllib/evaluation/sampler.py:E731