Skip to content

Commit 5df5fa1

Browse files
authored
Fix error introduced by #588. (#590)
1 parent ae7231d commit 5df5fa1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask) and
2929
- {pull}`586` improves linting.
3030
- {pull}`587` improves typing of `capture.py`.
3131
- {pull}`588` resets class variables of `ExecutionReport` and `Traceback`.
32+
- {pull}`590` fixes an error introduced in {pull}`588`.
3233

3334
## 0.4.6 - 2024-03-13
3435

src/_pytask/traceback.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __rich_console__(
7474
yield filtered_exc_info[2]
7575
else:
7676
yield RichTraceback.from_exception(
77-
*filtered_exc_info, show_locals=self._show_locals
77+
*filtered_exc_info, show_locals=self.show_locals
7878
)
7979

8080

0 commit comments

Comments
 (0)