pydata / pydata/xarray

more sophisticated type checking with numpy

Open
#11,086 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CI contrib-help-wanted enhancement topic-typing
Dominant language
Python
Stars
4.2k
Forks
1.4k
Avg merge
2d 15h
Merged PRs (30d)
14

Description

What is your issue?

This cool blogpost points out many improvements in numpy typing (NumType).

It also mentions stubtest which should be useful for our stubs, and also seems to be opt-in.

This would be a nice project for someone interested in type safety.

xref #10273

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the NumType and mypy stubtest documentation linked in the issue, then inspect xarray’s current typing and stub-testing setup. Review the discussion in #10273 to establish scope; done should mean a clearly defined, validated improvement to xarray’s NumPy type checking.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.