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 marking curses methods as incorrect #8884

Closed
mlazzarotto opened this issue Dec 3, 2019 · 1 comment
Closed

Pylint marking curses methods as incorrect #8884

mlazzarotto opened this issue Dec 3, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@mlazzarotto
Copy link

Environment data

  • VS Code version: 1.40.2
  • Extension version (available under the Extensions sidebar): 2019.11.50794
  • OS and version: Windows 10 1903 x64
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: windows-curses 2.1.0
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): N/A

Expected behaviour

VS Code should not mark the code as incorrect.

Actual behaviour

VS Code mark the code as incorrect, if I hover I get this error:

Module 'curses' has no 'curs_set' member

Steps to reproduce:

import curses

def main(scr):
    curses.curs_set(0)
    
curses.wrapper(main)

github_vscode_python

Logs

##########Linting Output - pylint##########
************* Module test_curse_github_issue
5,4,error,no-member:Module 'curses' has no 'curs_set' member

--------------------------------------------------------------------

Your code has been rated at 0.00/10 (previous run: 10.00/10, -10.00)
@mlazzarotto mlazzarotto added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Dec 3, 2019
@karrtikr karrtikr added triage and removed triage-needed Needs assignment to the proper sub-team labels Dec 3, 2019
@karrtikr karrtikr self-assigned this Dec 3, 2019
@karrtikr
Copy link

karrtikr commented Dec 3, 2019

Hi,
If you check the logs, this error is being reported from pylint. Please open your issue at https://github.com/PyCQA/pylint.

@karrtikr karrtikr closed this as completed Dec 3, 2019
@ghost ghost removed the triage label Dec 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants