Skip to content
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

Pylint report not jumping to line #3219

Closed
TWAC opened this issue Jun 10, 2016 · 2 comments
Closed

Pylint report not jumping to line #3219

TWAC opened this issue Jun 10, 2016 · 2 comments

Comments

@TWAC
Copy link

TWAC commented Jun 10, 2016

Description

What steps will reproduce the problem?

  1. Run static code analysis
  2. Click on a line in the static code analysis window

What is the expected output?
Editor selecting the correct line.

What do you see instead?
Editor not moving the selected line.
(It does however select the correct file tab.)

Please provide any additional information below
It starts working if I add this slot to load:

--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -1641,6 +1641,7 @@ class Editor(SpyderPluginWidget):

     @Slot(bool)
     @Slot(str)
+    @Slot(str, int, str)
     @Slot(str, int, str, object)
     def load(self, filenames=None, goto=None, word='', editorwindow=None,
              processevents=True):

Version and main components

  • Spyder Version: 3.0.0b3
  • Python Version: 3.4.4
  • Qt Versions: 4.8.7, PyQt4 (API v2) 4.11.4 on Windows

    Dependencies

pyflakes >=0.6.0:  1.2.3 (OK)
pep8 >=0.6      :  1.7.0 (OK)
pygments >=1.6  :  2.1.3 (OK)
qtconsole >=4.0 :  4.2.1 (OK)
nbconvert >=4.0 :  4.2.0 (OK)
pandas >=0.13.1 :  None (NOK)
numpy >=1.7     :  None (NOK)
sphinx >=0.6.6  :  1.4.3 (OK)
rope >=0.9.4    :  0.9.4-1 (OK)
jedi >=0.8.1    :  0.8.1 (OK)
matplotlib >=1.0:  None (NOK)
sympy >=0.7.3   :  None (NOK)
pylint >=0.25   :  1.5.6 (OK)
@Nodd
Copy link
Contributor

Nodd commented Jun 10, 2016

I saw this problem when working on plugins, but I wasn't sure if the problem was on my side or in spyder. Thanks for the report !

@ccordoba12 ccordoba12 added this to the v3.0beta4 milestone Jun 10, 2016
@ccordoba12
Copy link
Member

Thanks a lot for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants