shellwhat测试的扩展
shellwhat-ext的Python项目详细描述
shellwhat_ext
shellwhat测试的扩展。
包括在数据营课程中
在课程的requirements.sh
中,添加
# replace 0.0.1 with the appropriate release version
pip3 install --no-deps shellwhat-ext==0.0.1
要在练习的sct中使用扩展,请将所需函数导入练习的sct块:
fromshellwhat_extimporttest_cmdlineEx()>>test_cmdline([['wc','l','+']])
部署到pypi
请执行以下步骤
- 打开pr,适当时合并到master。
- 合并后,递增
__version__ = 0.0.1
以反映更改(see semver for guidance)。 - 创建一个标记为
vVERSION
的github版本。例如v0.0.1
。(见here)。
运行测试
make install
make test