mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
Switched from black to ruff
This commit is contained in:
@@ -81,12 +81,19 @@ testpaths = ["tests", "invenio_theme_iform"]
|
|||||||
live_server_scope = "module"
|
live_server_scope = "module"
|
||||||
|
|
||||||
# Code style tools configuration
|
# Code style tools configuration
|
||||||
[tool.black]
|
[tool.ruff]
|
||||||
line-length = 88
|
line-length = 100
|
||||||
target-version = ['py312']
|
target-version = "py313"
|
||||||
|
exclude = ["docs"]
|
||||||
|
|
||||||
[tool.isort]
|
[tool.ruff.lint.isort]
|
||||||
profile = "black"
|
force-sort-within-sections = true
|
||||||
|
lines-after-imports = -1
|
||||||
|
|
||||||
|
[tool.ruff.format]
|
||||||
|
quote-style = "double"
|
||||||
|
indent-style = "space"
|
||||||
|
line-ending = "auto"
|
||||||
|
|
||||||
[tool.pydocstyle]
|
[tool.pydocstyle]
|
||||||
add_ignore = ["D401"]
|
add_ignore = ["D401"]
|
||||||
|
|||||||
Reference in New Issue
Block a user