diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75f9711ed..1079e28a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,4 +41,4 @@ repos: hooks: - id: taplo-format # See options: https://taplo.tamasfe.dev/configuration/formatter-options.html - args: [--option, "reorder_arrays=true"] + args: [--option, "reorder_arrays=true", --option, "reorder_keys=true"] diff --git a/pyproject.toml b/pyproject.toml index c4dfd93ef..144830ffa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,10 +4,10 @@ requires-python = '>=3.9' [tool.ruff] exclude = ['.git', 'build', 'dist', 'doc/_build', 'doc/tutorial', 'pycache__'] -line-length = 100 indent-width = 4 -lint.select = ["ALL"] +line-length = 100 lint.ignore = ["COM812", "D203", "D212", "E501", "ERA001", "ISC001"] +lint.select = ["ALL"] [tool.ruff.lint.per-file-ignores] "doc/**" = ["ANN", "ARG", "D", "INP001"]