From db1d5f66e5703f6cad2c5b2c37f16f7b0372933f Mon Sep 17 00:00:00 2001 From: linkfrg Date: Wed, 31 Jul 2024 02:39:34 +0500 Subject: [PATCH] add ruff.toml --- ruff.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ruff.toml diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 00000000..d472c7e3 --- /dev/null +++ b/ruff.toml @@ -0,0 +1,21 @@ +[lint] +select = [ + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "I", # isort + "B", # flake8-bugbear + "C4", # flake8-comprehensions + "UP", # pyupgrade + "RUF" +] +ignore = [ + "E501", # line too long, handled by black + "B008", # do not perform function calls in argument defaults + "C901", # too complex + "W191", # indentation contains tabs + "I001", # import block is un-sorted or un-formatted +] + +fixable = ["ALL"] +unfixable = [] \ No newline at end of file