summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruff.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/ruff.toml b/ruff.toml
new file mode 100644
index 000000000..189f2838f
--- /dev/null
+++ b/ruff.toml
@@ -0,0 +1,18 @@
+# Same as Black.
+line-length = 88
+indent-width = 4
+
+# Assume Python 3.11
+target-version = "py311"
+
+[format]
+quote-style = "single"
+
+# Like Black, indent with spaces, rather than tabs.
+indent-style = "space"
+
+# Like Black, respect magic trailing commas.
+skip-magic-trailing-comma = false
+
+# Like Black, automatically detect the appropriate line ending.
+line-ending = "auto"