
Jan. 11, 2024
11:30 a.m.
Hi all! Some time ago we added a new rule to Ruff linter, "NPY201", which updates the codebase to a NumPy 2.0 compatible version. You can read about it in the migration guide: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#ruff-plugin And on the Ruff docs website: https://docs.astral.sh/ruff/rules/numpy2-deprecation/ (it's still in a "preview" mode but available since 0.1.4 release). Best regards, Mateusz