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 摘要。