Overview: The first release
@jorenham がすでに取り組んでいます。
2025年2月4日 から。
評価
この issue はまだ評価されていません。
説明
Once the first NumType version is ready, it will support numpy==2.2.* release (probably 2.2.3), and will be compatible with at least Python 3.10.
This is what needs to happen before that:
Initial project layout
- stubs (based on
numpy/**/*.pyi) - static rejection tests (based on
numpy/typing/tests/data/fail/*.pyi) - static acceptance tests (based on
numpy/typing/tests/data/{misc,reveal}/*.pyi) - runtime acceptance tests (based on
numpy/typing/tests/data/pass/*.py) - fancy logo
- github labels
- github issue template
-
CONTRIBUTING.md -
README.md(badges, installing, motivation, (non-)goals, roadmap, type-checker support, differences with numpy)
Tooling setup
-
uv+hatch - dependabot
- CI workflow (enable everything, but allow errors where needed)
- release workflow
- enable trusted publishing on PyPI
-
ruff(minimal ignores, maximal selected rules, and hierarchically extend when needed) -
libcst(for bulk codemodding, can probably be removed later) -
basedpyright(at leastmode="strict") -
basedmypy-
mypy-compatible config - figure out why it's ignoring
numpy-stubswhen running it locally, and/or work around it (it works whennumtypeis installed from github) - https://github.com/numpy/numtype/pull/18
-
-
pytest(for runtime acceptance tests) -
typos -
markdownlint -
pre-commit -
tox
Static analysis
-
ruff- fix the >2000 errors, by writing codemods or by hand
-
ruff format(everything) -
ruff check(everything) - enforce in CI
-
basedpyright- valid
/src/numpy-stubs/ - valid
/test/static/ - valid
/test/runtime/ - valid
/tool/
- valid
-
basedmypy- valid
/src/numpy-stubs/ - valid
/test/static/ - valid
/test/runtime/ - valid
/tool/
- valid
-
stubtest- generate the allowlist (requires
mypyto pass) - fix
the low-hanging fruiteverything (exceptdistutils)
- generate the allowlist (requires
-
pytestpasses
- 主要言語
- Python
- スター
- 79
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
numpy/numtype のほかの issue
-
topic: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
topic: documentation
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
blame: Pyright tool: basedpyright
-
numpy.generic stubs: Incomplete
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
_numtype stubs: Refactor
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/skills#1811 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
speaches-ai/speaches#678 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
datalayer/mcp-compose#42 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
UKGovernmentBEIS/inspect_evals#2523 ·