From 2b9f2165c7af4cb455e76270a8b5759281082ca3 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Thu, 5 Sep 2024 12:13:41 +0200 Subject: [PATCH] Upgrade ruff configuration format (#1053) --- pyproject.toml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6363391e..96922874 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,6 +88,20 @@ expected-line-ending-format = "LF" asyncio_mode = "auto" [tool.ruff] +exclude = [ + ".venv", + ".git", + ".tox", + "docs", + "venv", + "bin", + "lib", + "deps", + "build", +] +line-length = 88 + +[tool.ruff.lint] select = ["D", "E", "F", "G", "I", "PLC", "PLE", "PLR", "PLW", "UP", "W"] ignore = [ "D202", @@ -104,18 +118,6 @@ ignore = [ "UP006", # keep type annotation style as is "UP007", # keep type annotation style as is ] -exclude = [ - ".venv", - ".git", - ".tox", - "docs", - "venv", - "bin", - "lib", - "deps", - "build", -] -line-length = 88 [tool.ruff.lint.isort] force-sort-within-sections = true