From: Daan De Meyer Date: Thu, 7 Mar 2024 13:09:33 +0000 (+0100) Subject: Use lint.select in pyproject.toml X-Git-Tag: v22~25^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b15984e676358c125e98b3ef03ec1499847bac6f;p=thirdparty%2Fmkosi.git Use lint.select in pyproject.toml Fixes the following warning: """ 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' """ --- diff --git a/pyproject.toml b/pyproject.toml index 98e19abfe..3ff3e810b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ ignore_missing_imports = true [tool.ruff] target-version = "py39" line-length = 119 -select = ["E", "F", "I", "UP"] +lint.select = ["E", "F", "I", "UP"] [tool.pytest.ini_options] markers = [