Skip to content

Commit deba157

Browse files
authored
Add docformatter. (#43)
1 parent 3b72897 commit deba157

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ repos:
3131
rev: v1.20.1
3232
hooks:
3333
- id: setup-cfg-fmt
34+
- repo: https://github.com/myint/docformatter
35+
rev: v1.3.1
36+
hooks:
37+
- id: docformatter
38+
args: [--in-place, --wrap-summaries, "88", --wrap-descriptions, "88", --blank]
3439
- repo: https://github.com/psf/black
3540
rev: 22.3.0
3641
hooks:

src/pytask_parallel/execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ def _unserialize_and_execute_task(
179179
) -> tuple[type[BaseException], BaseException, str] | None:
180180
"""Unserialize and execute task.
181181
182-
This function receives bytes and unpickles them to a task which is them execute
183-
in a spawned process or thread.
182+
This function receives bytes and unpickles them to a task which is them execute in a
183+
spawned process or thread.
184184
185185
"""
186186
__tracebackhide__ = True

0 commit comments

Comments
 (0)