PyCharm PEP8 style check does not understand #noqa

Answered

Currently, PyCharm uses #noinspection comment to suppress a PEP8 inspection for the following line. For example:

# noinspection PyUnresolvedReferences
from base import *

In our team, not all developers use PyCharm as their IDE and adding #noinspection in our code base is not allowed. It would be great if PyCharm would understand #noqa as proposed and used by PEP8 and Flake8. That's what BDFL uses too after all. Something like this:

from .base import * # noqa: F403,F401

Does anybody know of a way to force PyCharm uses and understand #noqa?

1 comment

Please vote for https://youtrack.jetbrains.com/issue/PY-8656 to increase its priority and be notified about updates.

0

Please sign in to leave a comment.