-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Linting for certain pytorch classes missing #5635
Comments
@Genius1237 You are using As a temporary fix, I suggest you to choose another suitable linter which supports |
Looking at this, I would say that
Is it possible to do a comparison of every linting feature here and in |
This is for sure not a BUG on vscode's end, which is why I have to close this issue. The linting features here directly come from linters, so it's not a pycharm vs vscode thing. Also unfortunately, I do know much about the |
Environment data
pytorch 1.1.0
,pylint
Expected behaviour
Linting should work for
pytorch
classes liketorch.tensor
,torch.float
,torch.ones
,torch.zeros
andtorch.zeros
Actual behaviour
Linting does not work. Shows a red line under
![image](https://user-images.githubusercontent.com/15867363/57792113-43a96a80-770c-11e9-8ca6-e2f8652fda87.png)
torch
.Steps to reproduce:
pytorch
classes.Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)This issue pytorch/pytorch#16996 (comment) has been fixed by pytorch on their end and the errors are with VS code. Another user pytorch/pytorch#16996 (comment) has reported that the error does not appear with pycharm, but only with VS Code
The text was updated successfully, but these errors were encountered: