I write a module for Salt. By the documentation it adds __salt__
object into builtins
. So, pyflake warn me that __salt__
is undefined when I run prospector and mypy says the same, that __salt__
is undefined! I can ignore either for pyflake with # noqa: F821
or for mypy with # type: ignore
on that line.
The question is! How to ignore for both of them?
# type: ignore # noqa
at the end of line? – Lorant