Skip to content

Add docformatter. #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/pytask_parallel/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down