« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ruff.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ruff.toml b/ruff.toml
new file mode 100644
index 0000000..3284303
--- /dev/null
+++ b/ruff.toml
@@ -0,0 +1,33 @@
+[lint]
+select = [
+  "F", # pyflakes
+  "E", # pycodestyle errors
+  "E1", # Matching indent
+  "E225", # Whitespace around operator
+  "W", # pycodestyle warnings
+  "C", # complexity
+  "N", # naming
+  "YTT", # flake8
+  "ASYNC",
+  "S", # flake8 bandit
+  "BLE", # blind except
+  "FBT", # boolean trap
+  "A", # builtins
+  "COM", # commas
+  "C4", # comprehensions
+  "EM", # errormsg
+  "G010", # warn/warning
+  "PIE",
+  "RSE",
+  "RET",
+  "TD", # TODO
+  "FIX", # FIXME
+  # "ERA", # eradicate commented code
+  "B", # bugbears
+  "ARG",
+  "RUF"
+]
+
+ignore = [
+  "S101"
+]