From 97e9d4b58cc6be770cecb14c29fbe55dcb376a47 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:17:49 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/asottile/pyupgrade: v3.3.1 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.17.0) - https://github.com/myint/docformatter → https://github.com/PyCQA/docformatter - [github.com/PyCQA/docformatter: v1.5.1 → v1.7.5](https://github.com/PyCQA/docformatter/compare/v1.5.1...v1.7.5) - [github.com/psf/black: 22.12.0 → 24.10.0](https://github.com/psf/black/compare/22.12.0...24.10.0) - [github.com/executablebooks/mdformat: 0.7.16 → 0.7.17](https://github.com/executablebooks/mdformat/compare/0.7.16...0.7.17) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.240 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.240...v0.6.9) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0a307e..a12774e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -21,27 +21,27 @@ repos: - id: detect-private-key - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] name: Upgrade code - - repo: https://github.com/myint/docformatter - rev: v1.5.1 + - repo: https://github.com/PyCQA/docformatter + rev: v1.7.5 hooks: - id: docformatter args: [--in-place, --wrap-summaries=120, --wrap-descriptions=120] - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 24.10.0 hooks: - id: black name: Black code args: ["--line-length=120"] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.16 + rev: 0.7.17 hooks: - id: mdformat additional_dependencies: @@ -49,8 +49,8 @@ repos: - mdformat-black - mdformat_frontmatter - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.240 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.6.9 hooks: - id: ruff args: ["--fix", "--line-length=120", "--ignore=E402"] From cf743e7798593ce942b60fc5f0cc0933f1e71587 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:17:57 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_research_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_research_app.py b/tests/test_research_app.py index 5747579..386cc13 100644 --- a/tests/test_research_app.py +++ b/tests/test_research_app.py @@ -6,6 +6,7 @@ run_once runs your app through one cycle of the event loop and then terminates """ + import io import os from contextlib import redirect_stdout