From a162e6e40b84744e963eb8014e490d2245065367 Mon Sep 17 00:00:00 2001 From: Kristian Glass Date: Sun, 19 Jan 2025 23:43:21 +0000 Subject: [PATCH] Move select to tool.ruff.lint and explicitly set line-length ``` warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'select' -> 'lint.select' ``` --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2b979ff..0636f59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,9 @@ skip_covered = true show_contexts = true [tool.ruff] +line-length = 120 + +[tool.ruff.lint] select = [ "F", # pyflakes "E", "W", # pycodestyle