From 72e3a56e4f2897c791b4bdf6937be2db8122de0f Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sun, 24 Mar 2024 01:06:03 +0100 Subject: [PATCH] chore: replace black with ruff Signed-off-by: Dominik Willner --- pyproject.toml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be1fddf..81a968d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,16 @@ -[tool.black] +[project] +requires-python = ">=3.8" + +[tool.ruff] +required-version = ">=0.3.4" +respect-gitignore = true +exclude = [".git",".github", "./docs"] line-length = 88 -target-version = ['py38'] -include = '\.pyi?$' -exclude = ''' -( - \.git/ - | \.github/ - | docs/ - | resources/ - | scripts/ -) -''' +indent-width = 4 +output-format = "full" + +[tool.ruff.format] +indent-style = "space" +line-ending = "lf" +quote-style = "double" +