-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Improved Error in :mod:.utils.tex_file_writing
#2574
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
Conversation
Darylgolden
left a comment
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.
Thank you! Can you add tests that assert the correct error messages are raised?
|
Sure! |
tex_file_writing.utils.tex_file_writing
|
I sank in enough time, but I have no idea why the logs will not be produced even after passing in the Edit: Was a nasty comma |
Darylgolden
left a comment
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.
It doesn't seem like the insight was raised?
|
Insights are logged as INFO not ERROR.
Setting it to INFO will include the insights |
|
I think it'll be good to test that the insight is raised. |
icedcoffeeee
left a comment
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.
Tested locally, LGTM! Thank you for your efforts
Co-authored-by: Darylgolden <[email protected]>
Darylgolden
left a comment
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.
Thank you, LGTM!
|
This unfortunately broke rendering of TeX strings containing |
Overview: What does this pull request change?
This removes the infamous
max() arg is an empty sequenceerrorAdded an insight for when a package is not installed
Fixes #2360
Further Information and Comments
I am not sure if
is a helpful enough insight. Suggestions Welcome!
Reviewer Checklist