Skip to content

Commit a07c62a

Browse files
[pre-commit.ci] pre-commit autoupdate (#58)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent 08f1166 commit a07c62a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: python-no-log-warn
2424
- id: python-use-type-annotations
2525
- id: text-unicode-replacement-char
26-
- repo: https://github.com/asottile/reorder_python_imports
26+
- repo: https://github.com/asottile/reorder-python-imports
2727
rev: v3.9.0
2828
hooks:
2929
- id: reorder-python-imports
@@ -37,11 +37,11 @@ repos:
3737
hooks:
3838
- id: black
3939
- repo: https://github.com/charliermarsh/ruff-pre-commit
40-
rev: v0.0.261
40+
rev: v0.0.269
4141
hooks:
4242
- id: ruff
4343
- repo: https://github.com/dosisod/refurb
44-
rev: v1.15.0
44+
rev: v1.16.0
4545
hooks:
4646
- id: refurb
4747
args: [--ignore, FURB126]
@@ -64,7 +64,7 @@ repos:
6464
hooks:
6565
- id: codespell
6666
- repo: https://github.com/pre-commit/mirrors-mypy
67-
rev: 'v1.2.0'
67+
rev: 'v1.3.0'
6868
hooks:
6969
- id: mypy
7070
args: [

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ $ pip install pytask-parallel
2828
$ conda install -c conda-forge pytask-parallel
2929
```
3030

31-
By default, the plugin uses `loky`'s robust implementation of the `ProcessPoolExecutor`.
31+
By default, the plugin uses `concurrent.futures.ProcessPoolExecutor`.
3232

33-
It is also possible to select the `ProcessPoolExecutor` or `ThreadPoolExecutor` from the
33+
It is also possible to select the executor from loky or `ThreadPoolExecutor` from the
3434
[concurrent.futures](https://docs.python.org/3/library/concurrent.futures.html) module
3535
as backends to execute tasks asynchronously.
3636

@@ -65,7 +65,7 @@ You can also set the options in a `pyproject.toml`.
6565

6666
[tool.pytask.ini_options]
6767
n_workers = 1
68-
parallel_backend = "loky" # or processes or threads
68+
parallel_backend = "processes" # or loky or threads
6969
```
7070

7171
## Some implementation details

0 commit comments

Comments
 (0)