From a0f598c828c003bcb6f34ca3ef0dd9d27a0a5cb8 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Fri, 18 Oct 2024 16:16:44 +0200 Subject: [PATCH] Update `pyproject` Ruff config sections. --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a46e11a..3094908 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,11 +166,13 @@ exclude = ''' ''' [tool.ruff] -ignore = ["B905", "E501"] line-length = 88 + +[tool.ruff.lint] +ignore = ["B905", "E501"] select = ["B", "B9", "C", "E", "F", "W"] -[tool.ruff.mccabe] +[tool.ruff.lint.mccabe] max-complexity = 10 [tool.setuptools.packages.find]