From 96c1cf836d738e51879baf84ccc43630fc564953 Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Wed, 22 Jan 2025 23:06:26 +0800 Subject: [PATCH] 'ignore' -> 'lint.ignore' --- pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 514dc8c..46294d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ openstack = [ ] [tool.ruff] -ignore = [ +lint.ignore = [ "E501", # we use black # we deliberately ignore these: "EM102", @@ -100,6 +100,7 @@ ignore = [ "B028", "BLE", "C901", + "COM812", "D", "DTZ", "FBT", @@ -118,15 +119,15 @@ ignore = [ "FIX002", "TRY", ] -select = ["ALL"] +lint.select = ["ALL"] target-version = "py39" # Same as Black. line-length = 88 -[tool.ruff.flake8-pytest-style] +[tool.ruff.lint.flake8-pytest-style] parametrize-values-type = "tuple" -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["molecule_plugins"] [project.entry-points."molecule.driver"]