Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

evolve hook tracing by providing the concept of hook exec/call tracers

オープン
#588 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

まず Claude PR #584 における進化の試みと、この issue で提案されている hook wrapper の仕様を確認します。hook-execution、hook-wrapper、individual-hook tracing の概念を比較し、その後、API と引数を maintainers と明確にします。実行境界とラッパー境界に対する動作が定義された、合意済みの tracing 設計ができれば完了です。

索引モデルが issue の本文から書いたものです。

説明

with the evolution attempts in the claude pr #584 i arrived at an idea to help better trace what hooks get called

instead of adding before/after function

we will have internal hook wrappers following a spec of

@hookspec(wrapper=True)
def pluggy_trace_hookexec(hook_name: str,
            hooks: Sequence[HookImpl],
            wrappers: Sequence[WrapperImpl],
            kwargs: Mapping[str, object],
            firstresult: bool):...


   code before any hook gets called
   result = yield
   after all hooks have executed
   # no result mod allowed


@hookspec(wrapper=True)
def pluggy_trace_hook_wrapper(wrapper: WrapperImpl): ...
   before wrapper is active
   result = yield
   after wrapper is donr



@hookspec(wrapper=True)
def pluggy_trace_hook_wrapper(hook: HookImpl): ...
   before hook was called
   result = yield
   after hook was called

note - we may choose to add additional arguments to ensure a good developer experience

i just added the minium needed to get started

主要言語
Python
スター
1.7k
フォーク
170
平均マージ
1日 18時間
マージ済み PR(30日)
18

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pytest-dev/pluggy のほかの issue

pytest-dev/pluggy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。