diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-28 12:47:07 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-28 12:49:43 -0300 |
commit | 2ecdbe89db5d9cd74c9f19b969885cf7d72d0dcb (patch) | |
tree | 683cefcb2cb8423c7f380bc7940c8d19d9ad9ac3 /ruff.toml | |
parent | d27e4d036cde17231a8480aa3a35825d8b95732b (diff) |
ruff: initial commit
Most of this config is stolen from Gio!
Diffstat (limited to 'ruff.toml')
-rw-r--r-- | ruff.toml | 33 |
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" +] |