Suppress errors with a code comment in pylint and PyCharm?

I'm coding on a project with PyCharm, and we use pylint on CI servers.

 

There are some false positive errors reported by PyCharm and pylint.

 

For pylint I can suppress those with a code comment:

```

from ..extern.six.moves import range  # pylint:disable=import-error

```

Is there a way to suppress a false positive error with a code comment in PyCharm?

Maybe even an option for PyCharm to support `# pylint:disable` ?

 

That would be super helpful.

1

Please sign in to leave a comment.