From bc6c927c3012a66e4caba9e9684efdda73cf5506 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:23:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 1 - pyproject.toml | 14 ++++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2680141..4bf5637 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -88,4 +88,3 @@ repos: rev: v1.1.353 hooks: - id: pyright - diff --git a/pyproject.toml b/pyproject.toml index ae2f6dd..c39c35a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,9 +116,13 @@ typeCheckingMode = "strict" [tool.ruff] extend-exclude = ["typings"] +preview = true show-fixes = true target-version = "py37" -preview = true + +[tool.ruff.format] +docstring-code-format = true +line-ending = "lf" [tool.ruff.lint] extend-select = [ @@ -171,6 +175,9 @@ ignore = [ ] task-tags = ["cspell"] +[tool.ruff.lint.isort] +split-on-trailing-comma = false + [tool.ruff.lint.per-file-ignores] "docs/*" = [ "E402", @@ -191,11 +198,6 @@ task-tags = ["cspell"] [tool.ruff.lint.pydocstyle] convention = "google" -[tool.ruff.lint.isort] -split-on-trailing-comma = false -[tool.ruff.format] -docstring-code-format = true -line-ending = "lf" [tool.tomlsort] all = false ignore_case = true