From f6da656c14841721b4d85e61ae7a1f62eb43b3ed Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Thu, 16 Oct 2025 08:09:52 -0700 Subject: [PATCH] [DEV] Use ruff linter --- pyproject.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index de023078..8f1d08b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ lint = [ "black==24.10.0", "isort==6.1.0", "pylint==3.3.8", + "ruff==0.14.0", ] docs = [ "sphinx>=7,<9", @@ -100,3 +101,24 @@ include = [ exclude_also = [ "raise UNREACHABLE.*", ] + +# ruff +[tool.ruff] +line-length = 100 +indent-width = 4 + +# Assume Python 3.10 +target-version = "py310" + +[tool.ruff.format] +# Like Black, use double quotes for strings. +quote-style = "double" + +# Like Black, indent with spaces, rather than tabs. +indent-style = "space" + +# Like Black, respect magic trailing commas. +skip-magic-trailing-comma = false + +# Like Black, automatically detect the appropriate line ending. +line-ending = "auto" \ No newline at end of file