[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-10-18 01:56:38 +00:00
parent 56dd10eae8
commit d83b74b6f4

View file

@ -42,7 +42,9 @@ SERIAL_RETRY_ERRNOS = {
def _multiprocessing_is_fork() -> bool:
"""Class state is only preserved when using the `fork` strategy."""
return bool(multiprocessing and multiprocessing.get_start_method() == "fork")
return bool(
multiprocessing and multiprocessing.get_start_method() == "fork"
)
class Manager: