question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove warning for 'self' not being accessed

See original GitHub issue

self is always required in class method parameter, and it is perfectly normal to not use it at all.
But coc-pyright always shows warning for not accessing self.
I think it’s completely unnecessary and should be removed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fannheywardcommented, Apr 7, 2021

You can disable the hint from coc-pyright v1.1.129, set pyright.disableSelfClsNotAccessed in your coc-settings.json.

0reactions
you-n-gcommented, Apr 6, 2021

@yaegassy I think we should leave this issue open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suppressing warnings from self-signed certificates ...
To suppress warnings from a self-signed certificate, the domain component of the ArcGIS Server URL must match the Common Name property of the...
Read more >
How to stop Security Warnings in Google Chrome for Self ...
I have installed certificate into "Trusted root certification authority " but still not working.Message is still showing in chrome. – Sanket ...
Read more >
How do I disable the warning Chrome gives if a security ...
I used the default options, exported to my desktop and then followed as cornelius10 suggested. In settings -> advanced settings, there'll be an...
Read more >
Manage warnings about unsafe sites - Google Chrome Help
View unsafe sites​​ You can visit a page that is showing a warning. This is not recommended. On the page where you see...
Read more >
No option to ignore a warning and access the page | Firefox ...
Open the file in a text editor, find the line for the server, and delete that line. When saving the file, make sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found