Skip to content

Commit 855340d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0aee97e commit 855340d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytask_parallel/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@hookimpl
1313
def pytask_parse_config(config: dict[str, Any]) -> None:
1414
"""Parse the configuration."""
15-
if config["n_workers"] == "auto": # noqa: PLR2004
15+
if config["n_workers"] == "auto":
1616
config["n_workers"] = max(os.cpu_count() - 1, 1)
1717

1818
if (

0 commit comments

Comments
 (0)