Closed niksirbi closed 1 week ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.70%. Comparing base (
ba10263
) to head (0a562e8
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
What is this PR
Why is this PR needed?
Numpy 2.0 was released yesterday, containing some breaking API changes (syntax deprecations).
The Numpy devs have written a migration guide, and have even provided a ruff linting rule - NPY201 - that "Checks for uses of NumPy functions and constants that were removed from the main namespace in NumPy 2.0".
What does this PR do?
It add NPY201 to the ruff lint config.
I also run
pre-commit run -a
and thankfully nothing came up. Nevertheless I'll leave this rule in, so that no deprecated syntax creeps in.References
n/a
How has this PR been tested?
Existing tests pass locally and in CI.
Is this a breaking change?
No.
Does this PR require an update to the documentation?
No.
Checklist: