danger / danger/python

I get an error with no error message

未关闭
#10 3 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
115
派生
45
PR 合并指标
30 天内没有已合并 PR

描述

Using `danger-python-0.1.0` and `danger@10.4.0` in CLI I get the following error:

>
> (env) [jay@jay-arch DiscordBot]$ danger-python pr https://github.com/TrainerDex/DiscordBot/pull/25
> Starting Danger PR on TrainerDex/DiscordBot#25
> You don't have a DANGER_GITHUB_API_TOKEN set up, this is optional, but TBH, you want to do this
> Check out: http://danger.systems/js/guides/the_dangerfile.html#working-on-your-dangerfile
> Usage: danger-python run [OPTIONS]
> Try 'danger-python run --help' for help.
>
> Error: no such option: -p
>
> Danger: ⅹ Failing the build, there is 1 fail.
> ## Failures
> `danger-python` failed.
> ## Markdowns
> ### Log
>
>
> ```sh
>
> ```
>

I get the same issue in the GitHub action

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用文档中记录的 pull-request 命令,通过 danger-python 0.1.0 和 danger 10.4.0 重现该报告,然后检查 CLI 帮助以及与所报告错误 `no such option: -p` 相关的选项解析。完成的标准是该命令在 CLI 和 GitHub Action 中均能正常工作,或报告清晰且可执行的错误消息。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。