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

DISCUSS: Agree a type-hint policy

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
静か
技術スタック
python

調査の方向性

まず、コントリビューションガイド、アノテーションが付けられたモジュール game_converters.py、howson_lcp.py、polymatrix_game.py、および PR #576 を確認してください。この issue では、アノテーションのポリシーと PR の扱いについてチームで決定する必要があります。コントリビューションガイドに決定内容がまとめられ、具体的なフォローアップが特定されれば完了です。

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

説明

discuss low-priority
The decision needed

Type annotations cover 9 of 481 functions (1.9%), all in three recently added game_theory modules (game_converters.py, howson_lcp.py, polymatrix_game.py). New code annotates; old code does not; nothing records which is intended.

The decision has been pending in concrete form for a long time: PR #576 ("Annotate normal_form_game.py") has been open more than five years. Resolving the policy resolves the PR, one way or the other.

Questions for the team
  1. Are annotations expected on new code, welcome but optional, or out of scope?
  2. If expected, is the target the public API surface only, or everything?
  3. Numba-jitted functions have real constraints — annotations on @njit functions are informational and can mislead about what numba actually accepts. Does the policy carve them out?
  4. Is a py.typed marker and a checked mypy job on the roadmap, or would annotations be documentation-only?
  5. Does PR #576 merge, get rebased, or get closed?

Whatever is decided, write it in the contributing guide. The current state is not a wrong decision; it is an unmade one, and the cost falls on contributors who cannot tell whether adding hints will be welcomed or reverted. Close this thread with a summarised decision and spawn concrete follow-ups.


From the July 2026 technical-debt audit (AI-assisted; claims verified against 28d4b3b on 2026-07-25).

主要言語
Python
スター
2.4k
フォーク
2.3k
平均マージ
5日 19時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

QuantEcon/QuantEcon.py のほかの issue

QuantEcon/QuantEcon.py の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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