ruff.toml 759 B

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