6

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.

Eric Auld
  • 1,002
  • 12
  • 23

1 Answers1

14

You can use # pylint: disable=fixme, line-too-long. See this StackOverflow answer.

itaintme
  • 1,500
  • 7
  • 21