ruff.toml 646 B

1234567891011121314151617181920212223242526
  1. line-length = 88
  2. target-version = "py310"
  3. extend-exclude = [
  4. "doc",
  5. "tools",
  6. "*openstack/common*",
  7. "*lib/python*",
  8. "*egg",
  9. ]
  10. [lint]
  11. select = ["E", "W", "F", "I"]
  12. ignore = [
  13. "E251", # Skipped due to https://github.com/jcrocholl/pep8/issues/301
  14. "E305", # Expected 2 blank lines after function/class
  15. "E731", # Do not assign a lambda; use def
  16. "E117", # Over-indented
  17. "W605", # Invalid escape sequence in string literal
  18. "F632", # Use ==/!= to compare str, bytes, and int literals
  19. "E501", # Line length enforced by ruff format (line-length above), not lint
  20. ]
  21. [format]
  22. quote-style = "preserve"