NPY002 legacy np.random.{method_name} call not triggering on np.random.random()
#9861
Labels
bug
Something isn't working
np.random.random()
#9861
Using ruff v0.2.1
I expect this to trigger a violation - afaict np.random.random() is deprecated just like any other np.random.{method_name} call. Reference https://numpy.org/doc/stable/reference/random/legacy.html#functions-in-numpy-random
I'm not quite sure why it was left out of #2960
The text was updated successfully, but these errors were encountered: