diff --git a/pyproject.toml b/pyproject.toml index fc7377a..5271fb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,12 +81,19 @@ testpaths = ["tests", "invenio_theme_iform"] live_server_scope = "module" # Code style tools configuration -[tool.black] -line-length = 88 -target-version = ['py312'] +[tool.ruff] +line-length = 100 +target-version = "py313" +exclude = ["docs"] -[tool.isort] -profile = "black" +[tool.ruff.lint.isort] +force-sort-within-sections = true +lines-after-imports = -1 + +[tool.ruff.format] +quote-style = "double" +indent-style = "space" +line-ending = "auto" [tool.pydocstyle] add_ignore = ["D401"]