-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 in VSCode showing different output from running pylint in command line #728
Comments
|
The selected interpreter is Python 2.7.10 (ppt-builder). python-pptx is definitely installed. But it's not just that. I'm using rest framework in another file and that is shown as an error too. |
|
I have the same error and I have a theory about why. I think the $CWD of the pylint process is now the parent directory of the target file, instead of the workspace root:
This matches up with the VS Code output which is:
The only discrepancy is that VS Code is not complaining about the |
Please see discussion in #722 |
Sorry for the late response.
Running the command |
I'd also like to add that it is COMPLETELY ignoring my .pylintrc file which resides in my home directory as |
Looks like duplicate of #788 |
Environment data
VS Code version: 1.20.0
Python Extension version: 2018.1.0
Python Version: 2.7.10
OS and version: macOS High Sierra 10.13.3
Actual behavior
Errors being thrown by pylint in the extension differ greatly from those in the output of running pylint in the command line.
Most importantly, the extension was working FINE until the recent VSCode update
Expected behavior
Extension should follow be able to import packages installed in local environment, use local python version, have same output as pylint when run in command line and return to working as before
Steps to reproduce:
No clue
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)The text was updated successfully, but these errors were encountered: