.flake8 942 B

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