diff options
-rw-r--r-- | ruff.toml | 27 |
1 files changed, 9 insertions, 18 deletions
@@ -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
+]
|