Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use EllipsisType #9418

Merged
merged 9 commits into from
Aug 31, 2024
Merged

Use EllipsisType #9418

merged 9 commits into from
Aug 31, 2024

Conversation

max-sixty
Copy link
Collaborator

Now with python3.10 we can roll this out.

Stacks on #9417, merge that first

max-sixty and others added 9 commits August 31, 2024 12:11
This does a few things:
- Upgrades mypy
- Adds lots of ignores for mpl & pandas type issues in tests -- not as good as fixing them, but better than staying on mypy 1.8
- Removes some old ignores
- Adds a couple of ignores with notes where it's our issue and I'm not sure what's going on
- Starts using the `EllipsisType` in a couple of places

Note that I used a tool to mass-add ignores, I didn't add them all manually
Now with python3.10 we can roll this out.

Stacks on pydata#9417, merge that first
@max-sixty max-sixty enabled auto-merge (squash) August 31, 2024 19:40
@max-sixty max-sixty merged commit 90aa51d into pydata:main Aug 31, 2024
28 checks passed
@max-sixty max-sixty deleted the ellipsis-type branch August 31, 2024 20:01
hollymandel pushed a commit to hollymandel/xarray that referenced this pull request Sep 23, 2024
* Upgrade mypy to 1.11

This does a few things:
- Upgrades mypy
- Adds lots of ignores for mpl & pandas type issues in tests -- not as good as fixing them, but better than staying on mypy 1.8
- Removes some old ignores
- Adds a couple of ignores with notes where it's our issue and I'm not sure what's going on
- Starts using the `EllipsisType` in a couple of places

Note that I used a tool to mass-add ignores, I didn't add them all manually

* Use `EllipsisType`

Now with python3.10 we can roll this out.

Stacks on pydata#9417, merge that first

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* .

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant