You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Diagnostics should respect # noqa and similar comments #264
Any diagnostics we output should respect comments like these. I believe there are other ones out there depending on the linter, like #pylint: disable and # NOQA.
Linting could be also disabled for a particular warning.
For example, pylint has the following way of locally disabling a warning:
4.1 Is it possible to locally disable a particular message?
Yes, this feature has been added in Pylint 0.11.
This may be done by adding “#pylint: disable=some-message,another-one”
at the desired block level or at the end of the desired line of code.
Reacted by Jérémie "Sonnet 4.5" Lumbroso and Jean-Francois Thuong
ptvsd uses
# noqato disable linting for specific lines, for example:Any diagnostics we output should respect comments like these. I believe there are other ones out there depending on the linter, like
#pylint: disableand# NOQA.