Skip to content

Commit e84554b

Browse files
[pre-commit.ci] pre-commit autoupdate (#103)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1c994f8 commit e84554b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: python-use-type-annotations
2424
- id: text-unicode-replacement-char
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.4.1
26+
rev: v0.4.2
2727
hooks:
2828
- id: ruff
2929
- id: ruff-format
@@ -60,7 +60,7 @@ repos:
6060
hooks:
6161
- id: codespell
6262
- repo: https://github.com/pre-commit/mirrors-mypy
63-
rev: 'v1.9.0'
63+
rev: 'v1.10.0'
6464
hooks:
6565
- id: mypy
6666
args: [

src/pytask_parallel/backends.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def get_parallel_backend(self, kind: ParallelBackend, n_workers: int) -> Executo
134134
except KeyError:
135135
msg = f"No registered parallel backend found for kind {kind.value!r}."
136136
raise ValueError(msg) from None
137-
except Exception as e: # noqa: BLE001
137+
except Exception as e:
138138
msg = f"Could not instantiate parallel backend {kind.value!r}."
139139
raise ValueError(msg) from e
140140

src/pytask_parallel/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _safe_load(
104104

105105
try:
106106
return node.load(is_product=is_product)
107-
except Exception as e: # noqa: BLE001
107+
except Exception as e:
108108
msg = f"Exception while loading node {node.name!r} of task {task.name!r}"
109109
raise NodeLoadError(msg) from e
110110

0 commit comments

Comments
 (0)