Skip to content

Commit f18df8f

Browse files
[pre-commit.ci] pre-commit autoupdate (#649)
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 5804f52 commit f18df8f

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ repos:
2525
- id: python-no-log-warn
2626
- id: text-unicode-replacement-char
2727
- repo: https://github.com/aio-libs/sort-all
28-
rev: v1.2.0
28+
rev: v1.3.0
2929
hooks:
3030
- id: sort-all
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.7.1
32+
rev: v0.7.3
3333
hooks:
3434
- id: ruff-format
3535
- id: ruff
@@ -58,12 +58,12 @@ repos:
5858
]
5959
files: (docs/.)
6060
- repo: https://github.com/kynan/nbstripout
61-
rev: 0.7.1
61+
rev: 0.8.0
6262
hooks:
6363
- id: nbstripout
6464
exclude: (docs)
6565
- repo: https://github.com/crate-ci/typos
66-
rev: v1.26.8
66+
rev: typos-dict-v0.11.35
6767
hooks:
6868
- id: typos
6969
exclude: (\.ipynb)

docs/source/how_to_guides/provisional_nodes_and_task_generators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ content to a `.txt` file.
8989
```
9090

9191
```{important}
92-
The generated tasks need to be decoratored with {func}`@task <pytask.task>` to be
92+
The generated tasks need to be decorated with {func}`@task <pytask.task>` to be
9393
collected.
9494
```

docs/source/how_to_guides/writing_custom_nodes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ databases. [^kedro]
142142

143143
## References
144144

145-
[^structural-subtyping]: Structural subtyping is similar to ABCs an approach in Python to enforce interfaces, but
146-
it can be considered more pythonic since it is closer to duck typing. Hynek Schlawack
147-
wrote a comprehensive
145+
[^structural-subtyping]: Structural subtyping is similar to ABCs an approach in Python to enforce interfaces,
146+
but it can be considered more pythonic since it is closer to duck typing. Hynek
147+
Schlawack wrote a comprehensive
148148
[guide on subclassing](https://hynek.me/articles/python-subclassing-redux/) that
149149
features protocols under "Type 2". Glyph wrote an introduction to protocols called
150150
[I want a new duck](https://glyph.twistedmatrix.com/2020/07/new-duck.html).

src/_pytask/debugging.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _import_pdb_cls(
150150
__import__(modname)
151151
mod = sys.modules[modname]
152152

153-
# Handle --pdbcls=pdb:pdb.Pdb (useful e.g. with pdbpp).
153+
# Handle --pdbcls=pdb:pdb.Pdb (useful e.g. with pdbpp or pdbp).
154154
parts = classname.split(".")
155155
pdb_cls = getattr(mod, parts[0])
156156
for part in parts[1:]:

src/_pytask/live.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def start(self) -> None:
114114
self._live.start()
115115
except LiveError:
116116
msg = (
117-
"pytask tried to launch a second live display which is impossible. the "
117+
"pytask tried to launch a second live display which is impossible. The "
118118
"issue occurs when you use pytask on the command line on a task module "
119119
"that uses the programmatic interface of pytask at the same time. "
120120
"Use either the command line or the programmatic interface."

tests/test_debugging.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def task_1():
329329
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
330330
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
331331
def test_pdb_with_injected_do_debug(tmp_path):
332-
"""Simulates pdbpp, which injects Pdb into do_debug, and uses self.__class__ in
333-
do_continue."""
332+
"""Simulates pdbpp or pdbp, which injects Pdb into do_debug, and uses self.__class__
333+
in do_continue."""
334334
source = """
335335
import pdb
336336

0 commit comments

Comments
 (0)