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
Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Analyzing code with Spyder can result in hints for Convention and Refactor, warnings and errors. The developer can disable a certain rule for a certain line of code by adding e.g. # pylint: disable=R1702 at the end. This feature request is to offer a rule description on hovering the rule in that comment.
The benefit is that a user can easily see which rule was disabled, especially when that was done a while back. Alternative is to remove the comment, run Analyze, look op the line in the output, undo removal of the comment, which is much more work.
What steps reproduce the problem?
Open a Python file
Run analyze with F8
disable a reported rule in the specific line by adding PyLint disable comment at the end as shown above, e.g. pylint:disable=R1702
Run analyze again, rule is no longer reported for that line
Now, the user would like to see what the disabled rules was about, e.g. what R1702 means
User hovers the mouse over only these characters in the comment R1702 (not the rest of the comment) and a description of the rule, as if the rule was shown in the Analyze (but without the line number), is shown.
What is the expected output? What do you see instead?
Step six is the feature request, at the moment it is not yet shown. Note that multiple rules, comma- separated list, should be supported, e.g. # pylint: disable=R1702,R1703
Versions
Spyder version: 4.1.5 None
Python version: 3.8.6 64-bit
Qt version: 5.12.9
PyQt5 version: 5.12.3
Operating System: Linux 5.8.0-7625-generic Ubuntu 20.10
The text was updated successfully, but these errors were encountered:
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)Problem Description
Analyzing code with Spyder can result in hints for Convention and Refactor, warnings and errors. The developer can disable a certain rule for a certain line of code by adding e.g.
# pylint: disable=R1702
at the end. This feature request is to offer a rule description on hovering the rule in that comment.The benefit is that a user can easily see which rule was disabled, especially when that was done a while back. Alternative is to remove the comment, run Analyze, look op the line in the output, undo removal of the comment, which is much more work.
What steps reproduce the problem?
pylint:disable=R1702
R1702
(not the rest of the comment) and a description of the rule, as if the rule was shown in the Analyze (but without the line number), is shown.What is the expected output? What do you see instead?
Step six is the feature request, at the moment it is not yet shown. Note that multiple rules, comma- separated list, should be supported, e.g.
# pylint: disable=R1702,R1703
Versions
The text was updated successfully, but these errors were encountered: