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

"self is not accessed" #272

Closed
xsevy opened this issue Aug 21, 2020 · 6 comments
Closed

"self is not accessed" #272

xsevy opened this issue Aug 21, 2020 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@xsevy
Copy link

xsevy commented Aug 21, 2020

Do something with this, please.
image

@jakebailey
Copy link
Member

Duplicate of #194.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Aug 21, 2020
@github-actions github-actions bot removed the triage label Aug 21, 2020
@erictraut
Copy link
Contributor

What is displaying that green text? I've never seen this message except in the context of hover text, but the text in the screen shot doesn't look like it's part of a hover tooltip box.

@xsevy
Copy link
Author

xsevy commented Aug 21, 2020

@jakebailey
Copy link
Member

jakebailey commented Aug 21, 2020

Hm, if that extension is surfacing diagnostics without considering diagnostics that aren't supposed to be shown, then I would file an issue on their tracker to ignore them. Otherwise you're going to get these for dead code, unused imports, etc.

@erictraut
Copy link
Contributor

Ah, that explains it. This appears to be a bug in Error Lens extension. Pylance is reporting this as a "Hint" diagnostic with a tag that indicates it should not be displayed. It should not be interpreted or displayed as a visible diagnostic.

@xsevy
Copy link
Author

xsevy commented Aug 21, 2020

@jakebailey @erictraut okay then. I'll let them know to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants