]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Use lint.select in pyproject.toml
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 7 Mar 2024 13:09:33 +0000 (14:09 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 7 Mar 2024 13:09:54 +0000 (14:09 +0100)
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'
"""

pyproject.toml

index 98e19abfe01fc7313d49a60c18c7642db27e9297..3ff3e810b971d99b1fbd5deb89af676b5a62192a 100644 (file)
@@ -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 = [