Fix type error in traceback formatter
ecalifornica opened this issue · 1 comments
ecalifornica commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
mypy
check failing due to a mismatch between signature and return type. Looks like the return value can be removed, as the only call to the function expects an iterable, matching the function signature.
Error:
python -m mypy src/pystack --strict --ignore-missing-imports
src/pystack/traceback_formatter.py:113: error: No return value expected [return-value]
Found 1 error in 1 file (checked 11 source files)
Relevant function:
pystack/src/pystack/traceback_formatter.py
Lines 88 to 113 in 708def2
Usage:
Expected Behavior
No CI failure.
Steps To Reproduce
- In development container.
- Run
make lint
Pystack Version
1.3.0
Python Version
3.12
Linux distribution
Ubuntu
Anything else?
No response
ecalifornica commented
Fixed by #175