Skip to content

Commit f00d976

Browse files
committed
Fix.
1 parent 89188a0 commit f00d976

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/how_to_guides/writing_custom_nodes.md

Lines changed: 3 additions & 3 deletions
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/capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def __init__(self, targetfd: int) -> None:
452452
self.syscapture: CaptureBase[str] = SysCapture(targetfd)
453453
else:
454454
self.tmpfile = EncodedFile(
455-
TemporaryFile(buffering=0),
455+
TemporaryFile(buffering=0), # noqa: SIM115
456456
encoding="utf-8",
457457
errors="replace",
458458
newline="",

0 commit comments

Comments
 (0)