PyCharm PEP8 style check does not understand #noqa
已回答
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?
请先登录再写评论。
Please vote for https://youtrack.jetbrains.com/issue/PY-8656 to increase its priority and be notified about updates.