7

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,156
  • 2
  • 14
  • 23

1 Answers1

17

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

itaintme
  • 1,575
  • 8
  • 22