Skip to content

Commit 7041699

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
hooks:
4141
- id: black
4242
- repo: https://github.com/charliermarsh/ruff-pre-commit
43-
rev: v0.0.265
43+
rev: v0.0.269
4444
hooks:
4545
- id: ruff
4646
- repo: https://github.com/dosisod/refurb
@@ -55,7 +55,7 @@ repos:
5555
args: [-v, --fail-under=75]
5656
exclude: ^(tests/|docs/|scripts/)
5757
- repo: https://github.com/pre-commit/mirrors-mypy
58-
rev: 'v1.2.0'
58+
rev: 'v1.3.0'
5959
hooks:
6060
- id: mypy
6161
args: [

src/_pytask/debugging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _import_pdb_cls(
151151
for part in parts[1:]:
152152
pdb_cls = getattr(pdb_cls, part)
153153
except Exception as exc: # noqa: BLE001
154-
value = ":".join((modname, classname))
154+
value = f"{modname}:{classname}"
155155
raise ValueError(
156156
f"--pdbcls: could not import {value!r}: {exc}."
157157
) from exc

0 commit comments

Comments
 (0)