From 10dc1436d0d01b3793723ed60b8f2724ef1aa835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Thu, 15 Feb 2024 09:08:16 +0100 Subject: [PATCH] fixes pyproject.toml ruff configuration --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0ab6eca..87fbe0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,11 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] target-version = "py310" # Always generate Python 3.10-compatible code +extend-exclude = [ + "docs", "frontend" +] + +[tool.ruff.lint] select = [ "ASYNC", # flake8-async "C4", # flake8-comprehensions @@ -77,14 +82,9 @@ select = [ "YTT", # flake8-2020 "W", # pycodestyle warnings ] - -[tool.ruff.lint] ignore = [ "PERF203", # try-except-in-loop ] -extend-exclude = [ - "docs", "frontend" -] [tool.ruff.lint.mccabe] max-complexity = 7