mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 14:24:17 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
56dd10eae8
commit
d83b74b6f4
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ SERIAL_RETRY_ERRNOS = {
|
||||||
|
|
||||||
def _multiprocessing_is_fork() -> bool:
|
def _multiprocessing_is_fork() -> bool:
|
||||||
"""Class state is only preserved when using the `fork` strategy."""
|
"""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:
|
class Manager:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue