Closed ReenigneArcher closed 1 year ago
You are right. It would be better if instead of the tmp file path the file with the code directive and the line of in there would be shown.
PR welcome 😉
EDIT: This issue should only happen with C, C++ or bash code blocks, because only these are written to tmp files.
Fixed in rstcheck-core 1.1.1
To Dos
[X] I tested with the latest released version.
[X] I have checked the issues and think that this is not a duplicate.
[X] I added a very descriptive title to this issue.
Example Code (rst)
Relevant log output
Description
It seems that this library creates a temporary file for code blocks (at least for c++ code blocks). The error message is not descriptive enough to find the problematic code-block within the rst files.
Operating System
Linux
Operating System Details
Ubuntu 22.04
Python Version
3.11
rstcheck Version
6.1.2
Additional Context
No response