From 8372bc6ccbc01f4de49afe0b0712240323829d5e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:32:10 +0000 Subject: [PATCH 1/2] style: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.10.1 → 24.1.1](https://github.com/psf/black/compare/23.10.1...24.1.1) - [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.11.0 → v2.12.0](https://github.com/macisamuele/language-formatters-pre-commit-hooks/compare/v2.11.0...v2.12.0) - [github.com/commitizen-tools/commitizen: v3.12.0 → v3.14.1](https://github.com/commitizen-tools/commitizen/compare/v3.12.0...v3.14.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d57cd56a..4f15f438 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: - hooks: - id: black repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.1.1 - hooks: - id: blacken-docs args: [-l80] @@ -57,7 +57,7 @@ repos: - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.11.0 + rev: v2.12.0 hooks: - id: pretty-format-yaml args: [--autofix, --indent, '2'] @@ -70,7 +70,7 @@ repos: stages: - commit-msg repo: https://github.com/commitizen-tools/commitizen - rev: v3.12.0 + rev: v3.14.1 - repo: https://github.com/PyCQA/docformatter From 5eaddea299ae573e8daad9cf1ed999a27d9e7128 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:32:23 +0000 Subject: [PATCH 2/2] style: pre-commit fixed styling --- inline_snapshot/_inline_snapshot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inline_snapshot/_inline_snapshot.py b/inline_snapshot/_inline_snapshot.py index fdc71a0a..a1f09fdd 100644 --- a/inline_snapshot/_inline_snapshot.py +++ b/inline_snapshot/_inline_snapshot.py @@ -383,13 +383,11 @@ def repr_wrapper(func: _T) -> _T: @overload -def snapshot() -> Any: - ... +def snapshot() -> Any: ... @overload -def snapshot(obj: T) -> T: - ... +def snapshot(obj: T) -> T: ... @repr_wrapper