summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruff.toml27
1 files changed, 9 insertions, 18 deletions
diff --git a/ruff.toml b/ruff.toml
index 2aaac4a..d85ceb7 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -1,18 +1,9 @@
-# Same as Black.
-line-length = 100
-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" \ No newline at end of file
+line-length = 100 # defaults to 88 like black
+target-version = "py39" # the python version to target, useful when considering code upgrades, defaults to "py310"
+
+select = [
+ "E", # pycodestyle
+ "F", # pyflakes
+ "UP", # pyupgrade,
+ "I", # isort
+]