From 491886b134fc7af6ea1eeb9995656163aa37446d Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Mon, 8 Jan 2024 17:13:18 +0200 Subject: [PATCH] update ruff options --- pyproject.toml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9463533..c742f2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,8 +44,36 @@ warn_unreachable = true warn_unused_configs = true [tool.ruff] +extend-select = [ + "B", + "BLE", + "C4", + "ERA", + "I", + "ICN", + "INP", + "ISC", + "N", + "NPY", + "PGH", + "PIE", + # "PTH", + "Q", + "RET", + "RSE", + "RUF", + "S", + "SIM", + "T20", + "TCH", + "TID", + "YTT", +] +show-fixes = true line-length = 120 indent-width = 4 +target-version = "py38" + [tool.ruff.lint] extend-select = ["I"]