From fcf4f8c54c1727103ff7d7811a6004d2f3742ae0 Mon Sep 17 00:00:00 2001 From: msclock Date: Mon, 18 Sep 2023 10:16:37 +0800 Subject: [PATCH] chore: fix deprecated key in ruff config (#178) --- pyproject.toml | 5 +++-- template/pyproject.toml.jinja | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2c4fb5b2..b46713b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,9 @@ minversion = "6.0" extend-exclude = [ "template", ] -extend-ignore = [ +fix = true +ignore = [ + # https://docs.astral.sh/ruff/rules/#pydocstyle-d "D203", "D204", "D213", @@ -101,7 +103,6 @@ extend-ignore = [ "D409", "D413", ] -fix = true select = ["ALL"] src = ["src"] diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index 8a50a4c6..8d7ca4cf 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -110,7 +110,9 @@ extend-exclude = [ "template", ] [%- endif %] -extend-ignore = [ +fix = true +ignore = [ + # https://docs.astral.sh/ruff/rules/#pydocstyle-d "D203", "D204", "D213", @@ -123,7 +125,6 @@ extend-ignore = [ "D409", "D413", ] -fix = true select = ["ALL"] src = ["src"]