Looking for a way to tell pylint to ignore the error on the next line. The method for JavaScript is given here, just
// @ts-ignore
I tried some logical variants of that for Python, but didn't succeed.
you can ignore it by adding a comment in the format # pylint: disable=[problem-code] at the end of the line where [problem-code] is the value inside pylint(...) in the pylint message – for example, abstract-class-instantiated for the problem report listed above.
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.
Go to the menu File -> Preferences -> Settings (Or open directly with Command + , or Ctrl + , ). Then in the search box at the top of the window, search for pylint Args . Click on the button Add item and add the line --disable=W .
You can use # pylint: disable=fixme, line-too-long
. See this StackOverflow answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With