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

Problems pane not showing all pylint messages #1628

Closed
jeffgabhart opened this issue May 7, 2018 · 1 comment · Fixed by #1629
Closed

Problems pane not showing all pylint messages #1628

jeffgabhart opened this issue May 7, 2018 · 1 comment · Fixed by #1629
Assignees
Labels
area-linting bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@jeffgabhart
Copy link

jeffgabhart commented May 7, 2018

Environment data

  • VS Code version: 1.23.0
  • Extension version (available under the Extensions sidebar): 2018.4.0
  • OS and version: Windows 7
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7.14
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions:

Actual behavior

Pylint output shows message, but it doesn't appear in the Problems pane. I'm guessing this is specific to triple quoted string literals and how pylint returns -1 for the column.

Expected behavior

All Pylint output messages appear in the Problems pane

Steps to reproduce:

  1. Create test.py
TEST = """
    {}
    """.format(
        '',
        ''
    )
  1. Save
  2. Python Output pane shows
##########Linting Output - pylint##########
No config file found, using default configuration
************* Module test
1,0,convention,C0111:Missing module docstring
3,-1,error,E1305:Too many arguments for format string
  1. Problems Pane only shows the message for "Missing module docstring"

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

##########Linting Output - pylint##########
No config file found, using default configuration
************* Module test
1,0,convention,C0111:Missing module docstring
3,-1,error,E1305:Too many arguments for format string

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)


@jeffgabhart
Copy link
Author

jeffgabhart commented May 7, 2018

Here is pylint saying they won't fix the negative value.
pylint-dev/pylint#1822

and their sample that also doesn't show up in the Problems pane

import threading

""" 
Some string here
"""

@DonJayamanne DonJayamanne self-assigned this May 7, 2018
@DonJayamanne DonJayamanne added this to the May 2018 milestone May 7, 2018
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug needs PR labels May 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-linting bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants