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

Add missing functions to NumPy 2.0 migration rule #11528

Merged
merged 1 commit into from
May 26, 2024

Conversation

mtsokol
Copy link
Contributor

@mtsokol mtsokol commented May 24, 2024

Hi!

I left out some of the functions in the migration rule which became removed in NumPy 2.0:

  • np.alltrue
  • np.anytrue
  • np.cumproduct
  • np.product

Addressing: numpy/numpy#26493

@mtsokol mtsokol changed the title Add np.alltrue to NumPy 2.0 migration rule Add missing functions to NumPy 2.0 migration rule May 24, 2024
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks!

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label May 26, 2024
@charliermarsh charliermarsh merged commit ab6d9d4 into astral-sh:main May 26, 2024
19 checks passed
@mtsokol mtsokol deleted the npy201-alltrue branch May 27, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants