From 9db8c6372dab1d7e6bfccb103135af1469eb46dd Mon Sep 17 00:00:00 2001 From: Steve Schmerler Date: Wed, 14 Feb 2024 23:14:36 +0100 Subject: [PATCH] MNT: adapt to ruff 0.2.x linter config syntax Use [tool.ruff] lint.foo = ... or [tool.ruff.lint] foo = --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e7989c..1d6b9c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,9 +84,10 @@ line-length = 79 ##) ##""" + [tool.ruff] line-length = 79 -ignore = ["E501", "E731"] +lint.ignore = ["E501", "E731"] ##extend-exclude = [ ## "examples/batch_with_git/templates/calc/run.py", ##]