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 0aee97e commit 855340dCopy full SHA for 855340d
src/pytask_parallel/config.py
@@ -12,7 +12,7 @@
12
@hookimpl
13
def pytask_parse_config(config: dict[str, Any]) -> None:
14
"""Parse the configuration."""
15
- if config["n_workers"] == "auto": # noqa: PLR2004
+ if config["n_workers"] == "auto":
16
config["n_workers"] = max(os.cpu_count() - 1, 1)
17
18
if (
0 commit comments