From 81e54a6153e8050c0612310951b18c8c17213547 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sat, 6 Aug 2022 00:06:58 +0200 Subject: [PATCH 1/2] Add docformatter. Committed via https://github.com/asottile/all-repos --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e414a0d..2e229c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,6 +31,11 @@ repos: rev: v1.20.1 hooks: - id: setup-cfg-fmt +- repo: https://github.com/myint/docformatter + rev: v1.3.1 + hooks: + - id: docformatter + args: [--in-place, --wrap-summaries, "88", --wrap-descriptions, "88", --blank] - repo: https://github.com/psf/black rev: 22.3.0 hooks: From b4378e3931adba837caf0c8d954e7d4b29fa0227 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 5 Aug 2022 22:08:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pytask_parallel/execute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pytask_parallel/execute.py b/src/pytask_parallel/execute.py index d20f899..2421f9f 100644 --- a/src/pytask_parallel/execute.py +++ b/src/pytask_parallel/execute.py @@ -179,8 +179,8 @@ def _unserialize_and_execute_task( ) -> tuple[type[BaseException], BaseException, str] | None: """Unserialize and execute task. - This function receives bytes and unpickles them to a task which is them execute - in a spawned process or thread. + This function receives bytes and unpickles them to a task which is them execute in a + spawned process or thread. """ __tracebackhide__ = True