From b322330b000a6d566e99cde1c29429a23b5f2cb3 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 2 Nov 2023 12:49:02 +0100 Subject: adding formatting with ruff --- pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 241d61a..de2c150 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,3 +52,15 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # 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" -- cgit v1.2.3