Yes, so is mypy. Relax, you can run Flake8 with all popular plugins
as a tool perfectly fine under Python 3.5+ even if you want to analyze
Python 2 code. This way you’ll be able to parse all of the new syntax
supported on Python 3 but also effectively all the Python 2 syntax at
the same time.
By making the code exclusively Python 3.5+, I’m able to focus on the
quality of the checks and re-use all the nice features of the new
releases (check out pathlib) instead of wasting cycles on Unicode
compatibility, etc.
我添加了以下代码
在VS Code launch.json中,现在它在“调试”窗口中可见。只要按F5键,就可以得到当前文件的完整静态分析。
从bash
安装插件
然后在VSCode中安装 https://marketplace.visualstudio.com/items?itemName=donjayamanne.python
和配置
设置
天哪,这只是Python3!
IDE和Linter集成
相关问题 更多 >
编程相关推荐