pre-commit / pre-commit/pre-commit-hooks
`requirements-txt-fixer` ordering breaks using --index-url and --extra-index-url together in requirements.txt
オープン
まだ誰も着手していません。
enhancement
good-first-issue
- 主要言語
- Python
- スター
- 6.7k
- フォーク
- 800
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
If you use both the --index-url and --extra-index-url flags together in a requirements.txt file the hook will put --extra-index-url above the --index-url which causes the url set to index-url be skipped. I suppose this is because the flags are also sorted alphabetically.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start at the requirements-txt-fixer hook entry point and trace how --index-url and --extra-index-url are ordered in requirements.txt. Check the related tests if present, then verify that --index-url remains before --extra-index-url so both settings are honored.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100