From 0bde148be72916065b4be52292d1bd23992f8d70 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 26 Aug 2024 15:00:49 +0200 Subject: [PATCH] Update ruff config to fix warnings --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3d0f7e4..4ee2f5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ build-backend = "setuptools.build_meta" write_to = "micropip/_version.py" [tool.ruff] -select = [ +lint.select = [ "E", # pycodestyles "W", # pycodestyles "F", # pyflakes @@ -53,11 +53,11 @@ select = [ ] # Remove E999 once pattern matching is supported # https://github.com/charliermarsh/ruff/issues/282 -ignore = ["E402", "E501", "E731", "E741", "E999"] +lint.ignore = ["E402", "E501", "E731", "E741", "E999"] target-version = "py311" -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = [ "micropip" ]