From 395ffaa648005de25d2181112c7deb179e6b1ccc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 21:48: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 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/asottile/pyupgrade: v3.3.1 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.16.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.4.2](https://github.com/psf/black/compare/22.12.0...24.4.2) - [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.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.240...v0.5.0) --- .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..6f59c47 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: v4.6.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.16.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.4.2 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.5.0 hooks: - id: ruff args: ["--fix", "--line-length=120", "--ignore=E402"] From dba4788df73f9ff1bf3222aae46f98c511369611 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 21:49:15 +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