We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa1af7 commit 0f469a3Copy full SHA for 0f469a3
.pre-commit-config.yaml
@@ -35,11 +35,6 @@ repos:
35
rev: 22.3.0
36
hooks:
37
- id: black
38
-- repo: https://github.com/asottile/blacken-docs
39
- rev: v1.12.1
40
- hooks:
41
- - id: blacken-docs
42
- additional_dependencies: [black]
43
- repo: https://github.com/PyCQA/flake8
44
rev: 4.0.1
45
src/pytask_parallel/backends.py
@@ -14,8 +14,8 @@
14
15
try:
16
from loky import get_reusable_executor
17
-
18
- PARALLEL_BACKENDS["loky"] = get_reusable_executor
19
- PARALLEL_BACKENDS_DEFAULT = "loky"
20
except ImportError:
21
pass
+else:
+ PARALLEL_BACKENDS["loky"] = get_reusable_executor
+ PARALLEL_BACKENDS_DEFAULT = "loky"
0 commit comments