-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE enable ruff PLW2901 #51708
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
Comments
Hi Marco, may I help for this issue? |
sure, go ahead |
Take |
After removing it and running |
yeah sounds good - and feel free to ignore other folders too if the number of remaining issues is too many |
I grouped the issues under the "to be gradually enabled" section and resolved the isolated once. Unfortunately today I had limited time to dedicate to it. The changes seems to be a renaming of the variables which get overwritten. I can continue and do all of them if that's fine for you. For now I changed something like this:
Into this:
Please let me know if you think there is another approach for it. |
I generated the PR to show you the changes. If it's fine for you I can update the PR by continuing the resolution of "to be gradually enabled" items I added. |
Hi Marco, can you please explain why this issue was reopened? I would like to help with it. Thanks! |
It was probably an accident - thanks! |
Task is:
PLW2901
frompandas/pyproject.toml
Lines 272 to 273 in 2c10d93
pre-commit run ruff --all-files
The text was updated successfully, but these errors were encountered: