-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix line number handling for errors and warnings #1150
fix line number handling for errors and warnings #1150
Conversation
for more information, see https://pre-commit.ci
…lipPartsch/sphinxcontrib-needs into proper_error_warning_line_no
for more information, see https://pre-commit.ci
…lipPartsch/sphinxcontrib-needs into proper_error_warning_line_no
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1150 +/- ##
==========================================
+ Coverage 85.92% 85.97% +0.04%
==========================================
Files 56 56
Lines 6536 6558 +22
==========================================
+ Hits 5616 5638 +22
Misses 920 920
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for the PR and the great fix. Also thanks a lot for updating the tests and adding a new one 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general concept looks good thanks 👍, but see review comments for implmentation details
Co-authored-by: Chris Sewell <[email protected]>
Changed sphinx version detection to explicit extract from sphinx version as suggested in review.
for more information, see https://pre-commit.ci
@chrisjsewell why did you have removed the
So I would want to bring in the @chrisjsewell and @danwos: How do we want to proceed? |
Heya, because as I have already mentioned, including full source-mapping in the |
I fought we agreed to add this information to the needs.json. Even I try to add the lineno. Anyway, the |
No that is not the case: #1156 (comment), again I'm not against doing this perse, but it needs to be considered/implemented outside of this PR which is specifically for fixing warnings
no that is not the case; it is the offset from the top of the directive |
With this PR I try to fix #1077