ruff.toml 637 B

123456789101112131415161718192021222324252627282930313233
  1. exclude = [
  2. ".conda",
  3. ".git",
  4. "src",
  5. ]
  6. line-length = 88
  7. indent-width = 4
  8. [lint]
  9. # Enable Pyflakes (`F`), pycodestyle (`E`), isort (`I`).
  10. select = ["E", "F", "I"]
  11. ignore = []
  12. # Allow fix for all enabled rules (when `--fix`) is provided.
  13. fixable = ["ALL"]
  14. unfixable = []
  15. [format]
  16. # Like Black, use double quotes for strings.
  17. quote-style = "double"
  18. # Like Black, indent with spaces, rather than tabs.
  19. indent-style = "space"
  20. # Like Black, respect magic trailing commas.
  21. skip-magic-trailing-comma = false
  22. # Like Black, automatically detect the appropriate line ending.
  23. line-ending = "auto"
  24. [lint.isort]
  25. force-single-line = true