chore: replace black with ruff

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-03-24 01:06:03 +01:00
parent e64aa94df4
commit 72e3a56e4f

View File

@@ -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 line-length = 88
target-version = ['py38'] indent-width = 4
include = '\.pyi?$' output-format = "full"
exclude = '''
( [tool.ruff.format]
\.git/ indent-style = "space"
| \.github/ line-ending = "lf"
| docs/ quote-style = "double"
| resources/
| scripts/
)
'''