Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码增加 pylint 和 flake8 检查机制 #671

Open
sunning-oneself opened this issue Aug 6, 2019 · 2 comments
Open

代码增加 pylint 和 flake8 检查机制 #671

sunning-oneself opened this issue Aug 6, 2019 · 2 comments
Labels
feature-others feature that is uncategorized

Comments

@sunning-oneself
Copy link

sunning-oneself commented Aug 6, 2019

问题描述

image
os和builtin_str并没有使用,但是却导入了,建议使用pylint和flake8检查一下代码

@debugtalk
Copy link
Member

@sunhongyany 感谢反馈,我增加下检测机制。

@debugtalk debugtalk added the feature-others feature that is uncategorized label Aug 7, 2019
@debugtalk debugtalk changed the title 提个小建议,我发现有些文件里导入了包却没有使用,不符合python代码规范 代码增加 pylint 和 flake8 检查机制 Aug 7, 2019
@zdyxry
Copy link
Contributor

zdyxry commented Sep 9, 2019

@debugtalk 通过查询 poetry 文档及相关资料,发现 poetry 不推荐添加类似于 Hook 的功能,官方推荐考虑使用 Make 工具来完成相应需求。

相关链接:
python-poetry/poetry#591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-others feature that is uncategorized
Projects
None yet
Development

No branches or pull requests

3 participants