如果喜欢我们的节目,欢迎通过爱发电打赏支持:https://afdian.net/@pythonhunter)
Hi 大家好,这一期信涛和 Luke 聊了有关 Lint 的话题,包括 Flake8,如何使用 CI 等。
主持:laixintao) 嘉宾:Luke)
时间轴:
02:00) 日常项目中会用到的 Lint 工具;
14:30) 其他语言的 Lint 工具;
20:00) 一些集成 Lint 的 Bot 想法...
30:00) 如何开发 Flake8 插件;
36:00) 我们在公司里是怎么使用CI的;
45:00) 使用 Git hook;
17:30) 推荐环节;
相关资料:
https://github.com/topics/flake8)
https://github.com/DmytroLitvinov/awesome-flake8-extensions)
https://flake8.pycqa.org/en/latest/plugin-development/)
https://www.pylint.org/)
https://www.python.org/dev/peps/pep-0008/)
Luke 提到的能找出潜在 Bug 的 flake8 插件)
检查代码中是否有 print 的插件)
Git Hooks)
Luke 推荐:Hypothesis)
爱发电上赞助)