From 8608f11bb480d95e513d90046da683ea2bc8fb2a Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sat, 29 Mar 2025 22:27:52 +0100 Subject: [PATCH] feat: add ruff toml --- ruff.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ruff.toml diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 0000000..1af46e2 --- /dev/null +++ b/ruff.toml @@ -0,0 +1,42 @@ +line-length = 80 +target-version = "py313" +preview = true + +[lint] +select = [ + "YTT", + "ANN", + "ASYNC", + "B", + "A", + "COM", + "C4", + "DTZ", + "T10", + "FIX", + "FA", + "ISC", + "PIE", + "PYI", + "PT", + "RET", + "SIM", + "TC", + "I", + "C90", + "DOC", + "D", + "F", + "PL", + "UP", + "RUF" +] +ignore = [ + "D203", + "D301", + "D101", + "D202", + "TC006", + "COM812" +] +