chore: migrating to ruff and updating pre-commit hooks

This commit is contained in:
Karim shoair
2025-04-13 17:32:00 +02:00
parent f34b42ea33
commit 0c8dd63f87
35 changed files with 2324 additions and 1182 deletions
+22
View File
@@ -0,0 +1,22 @@
exclude = [
".git",
".venv",
"__pycache__",
"docs",
".github",
"build",
"dist",
"tests",
"benchmarks.py",
]
# Assume Python 3.9
target-version = "py39"
[lint]
select = ["E", "F", "W"]
ignore = ["E501", "F401"]
[format]
# Like Black, use double quotes for strings.
quote-style = "double"