简体   繁体   English

如何在 PyCharm 中运行 mypy 插件来检查输入代码?

[英]How to run mypy plugin in PyCharm to inspect typing code?

I managed to install the mypy plugin into PyCharm community IDE 2020.1.我设法将 mypy 插件安装到 PyCharm 社区 IDE 2020.1。 I also installed the mypy package through conda install mypy .我还通过 conda conda install mypy安装了mypy package 。

How do I run the mypy plugin in PyCharm to inspect my existing python code?如何在 PyCharm 中运行 mypy 插件来检查我现有的 python 代码? I can't find any menu option to run mypy.我找不到任何运行 mypy 的菜单选项。

After installing the mypi plugins and mypi package, an extra window will appear on the bottom, next to the terminal.安装 mypi 插件和 mypi package 后,底部会出现一个额外的 window,靠近终端。 To scan, click on the green arrow.要扫描,请单击绿色箭头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM