From ab78a09ccfeea148e0c733be14919fe75a45abe8 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Mon, 30 Sep 2024 17:58:21 -0700 Subject: [PATCH] Preface ruff lint keys with .lint to address ruff deprecation warning --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3028f706..71154f4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,7 +130,7 @@ line-length = 88 target-version = "py310" # https://beta.ruff.rs/docs/rules/ -select = [ +lint.select = [ 'F', # Pyflakes 'E', # pycodestyle errors 'W', # pycodestyle warnings @@ -149,11 +149,11 @@ select = [ ] exclude = [".git", ".tox", ".venv", "node_modules"] -[tool.ruff.isort] +[tool.ruff.lint.isort] force-single-line = true known-first-party = ["jrnl", "tests"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] # unused imports [build-system]