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

希望支持多个requirments文件 #1

Closed
herbieliang opened this issue Sep 10, 2020 · 2 comments
Closed

希望支持多个requirments文件 #1

herbieliang opened this issue Sep 10, 2020 · 2 comments

Comments

@herbieliang
Copy link

目前貌似只支持单个的requirments.txt文件,但我一般是建立requirments文件夹,里面根据环境建立不同环境需要的包依赖,这样貌似检测不出来

@ferstar
Copy link
Owner

ferstar commented Sep 10, 2020

其实是支持多个 requirements.txt 的, 但是可能跟你期望的不是很相符

https://github.com/ferstar/check-requirements-txt/blob/master/check_requirements_txt.py#L119

这里我会匹配当前目录下所有*requirements*.txt这种 pattern 的文件

欢迎 PR

@ferstar
Copy link
Owner

ferstar commented Sep 9, 2022

@herbieliang 可以自定义requirements.txt路径了,支持多个requirements文件

@ferstar ferstar closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants