From 86905644d5cd21924c201e720719972ddab5533d Mon Sep 17 00:00:00 2001 From: yurekami Date: Mon, 29 Dec 2025 02:14:06 +0900 Subject: [PATCH] chore: fix ruff config deprecation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move ruff linter settings from top-level `[tool.ruff]` to the new `[tool.ruff.lint]` section as recommended by ruff. Before: ``` warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. ``` After: No warnings. Related to #283 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 7d9ca6f6b..b33834c4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,8 @@ line_length = 119 [tool.ruff] line-length = 320 # TODO + +[tool.ruff.lint] select = [ "E", # Pycodestyle Errors (Structural/Fundamental Errors like bad indentation) "F", # Pyflakes (Core Errors: Unused imports, undefined names)