You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently noticed that codeInspector gave warnings about Quit, Echo and other so-called SessionSymbols here. I wonder what those warnings are about? One thing that I can think of is that these symbols are often for debugging during development, so the warning is there to remind users that there are debug symbols and should not be included in the final package?
The text was updated successfully, but these errors were encountered:
Quit, Echo, etc. are considered suspicious in package code because they are generally not intended to be in package code, and their presence is a bug.
This can happen because they were left in during debugging
This can also happen because code is copied from a notebook, where it is more acceptable to use Quit, Echo, etc.
The presence of these symbols is not always a problem, which is why this rule has confidence of 0.55.
Right now, the rule is only looking at the presence of the symbol itself.
When more specific patterns are developed and the context of the symbols in the surrounding code is better understood, then there will be fewer false positives and I will increase the confidence in the rule.
I recently noticed that codeInspector gave warnings about
Quit
,Echo
and other so-called SessionSymbols here. I wonder what those warnings are about? One thing that I can think of is that these symbols are often for debugging during development, so the warning is there to remind users that there are debug symbols and should not be included in the final package?The text was updated successfully, but these errors were encountered: