From 994832ff20fd4fd6ab8fc55ea82497b0e472422d Mon Sep 17 00:00:00 2001 From: domna Date: Tue, 20 Feb 2024 22:29:51 +0100 Subject: [PATCH] Update ruff settings --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1c41353..b8706fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,12 +46,12 @@ local_scheme = "node-and-date" [tool.ruff] include = ["pynxtools/*.py", "tests/*.py"] -select = [ +lint.select = [ "E", # pycodestyle "W", # pycodestyle "PL", # pylint ] -ignore = [ +lint.ignore = [ "E501", # Line too long ({width} > {limit} characters) "E701", # Multiple statements on one line (colon) "E731", # Do not assign a lambda expression, use a def @@ -66,7 +66,7 @@ ignore = [ "PLR1714", # consider-using-in "PLR5501", # else-if-used ] -fixable = ["ALL"] +lint.fixable = ["ALL"] [tool.mypy] strict = false