
python
天津土著
这个作者很懒,什么都没留下…
展开
-
Mac上python3.8环境下ride折腾小记
前提 原本在Mac上搭建了python2.7+robotframework+ride的自动化测试环境(吐槽下Mac上wxPython安装的各种坑),近期由于pyhton2.7已不再支持,以及python3各种新特性的加入,决定升级python环境到3,python使用brew升级至3.8,robotframework,Selenium2Library,wxPython,robotframework-ride这些相关组件全部使用pip3升级至最新版本(pip3 install -U 组件名),启动ride后发原创 2020-10-27 16:29:42 · 499 阅读 · 0 评论 -
Python代码检测
静态代码检测 工具:Flake8 安装: pip install flake8 PyCharm中配置: 执行代码检查: 执行结果: (代码规范可参考 https://legacy.python.org/dev/peps/pep-0008/ 错误代码说明可参考 https://pep8.readthedocs.io/en/latest/intro.html#error-codes) Git提交代码检查 工具:pre-commit 安装: pip install pre-commit 建立git ho原创 2020-10-16 10:58:58 · 527 阅读 · 0 评论