Pre-commit hook for poetry-export should use same sort strategy as pre-commit/requirements-txt-fixer
まだ誰も着手していません。
評価
調査の方向性
まず、Issue が望ましいソートのリファレンスとして示している pre_commit_hooks/requirements_txt_fixer.py と poetry-export pre-commit hook を比較します。pytest と pytest-cov のソート順の違いを再現し、その後、hook の既存のテストまたはエントリーポイントを見つけます。poetry-export が requirements-txt-fixer と同じソート戦略で結果を生成し、その例がテストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the FAQ and general documentation and believe that my question is not already covered.
Feature Request
Pre-commit is excellent for standardizing checks across an organization's repositories. There's a conflict when trying to use poetry-export with pre-commit/requiremenets-txt-fixer as they sort differently.
E.g. the poetry-export hook will put pytest-cov above pytest, while pre-commit/requirements-txt-fixer will do the opposite.
While some may argue to "use one or the other", that makes it difficult to share a standardized .pre-commit-config.yaml across all repos of an org for consistency. Some repos may be currently using poetry or not or are slowing transitioning to use it.
This request is related to python-poetry/poetry#6944
- 主要言語
- Python
- スター
- 336
- フォーク
- 60
- 平均マージ
- 10分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-poetry/poetry-plugin-export のほかの issue
-
pylock.toml export drops wheels when the sdist sorts between wheels対応中かも @RaphaelFakhri が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
Does not installオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-poetry/poetry-plugin-export#341 · コメント 5 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
python-poetry/poetry-plugin-export#340 · コメント 1 件 ·
python-poetry/poetry-plugin-export の issue をすべて見る
似ている issue
-
[BUG]: Compliance rules never see Unity Catalog views as views対応中かも @wagnercsantos が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
databrickslabs/ontos#1348 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ibm-granite/granite.build#649 ·
メンテナーはふだん 1 日以内に返信
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.対応中かも @pgmzeta が今日担当しました。 オープンE-Verified P-Major
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
goonstation/goonstation#28259 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
woonstadrotterdam/monumenten#70 ·
メンテナーはふだん 15 日以内に返信
-
binding:python bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信