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

False PD013 with pymc #15092

Open
darosio opened this issue Dec 21, 2024 · 1 comment
Open

False PD013 with pymc #15092

darosio opened this issue Dec 21, 2024 · 1 comment
Labels
needs-info More information is needed from the issue author

Comments

@darosio
Copy link

darosio commented Dec 21, 2024

To reproduce this false warning it should be sufficient:

import pymc as pm
pm.math.stack()

@MichaReiser
Copy link
Member

MichaReiser commented Dec 21, 2024

Can you tell me what Ruff version you're using? We recently shipped an improvement that reduces the false-positives for the pandas rule and it seems to address your example: I don't see a warning here

The improvement shipped as part of Ruff 0.8.2,

@MichaReiser MichaReiser added the needs-info More information is needed from the issue author label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info More information is needed from the issue author
Projects
None yet
Development

No branches or pull requests

2 participants