-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE enable ruff PLR5501 #51709
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! can i help with this problem. |
go ahead |
How can i run code to check for errors? |
step 3 from #51709 (comment) |
hey! soory to bother again. do u know solution?? |
did you follow the contributing guide? https://pandas.pydata.org/docs/dev/development/contributing_environment.html |
Yes i did I installed with docker |
perhaps try gitpod then |
sure i will give it a try thanks for help |
does this issue want to remove "PLR5501" from whole code??? |
you could add |
as in, to add
here in this section: Lines 288 to 290 in 4d18871
Then there shouldn't be too many to fixup |
sure thanks |
ok so it says "Found 30 errors." should i start with this |
yup, thanks! |
Ok I will start tomorrow its 11pm rn. |
😄 sure thing, good night 🛌 |
Take |
Hey, wanted to ask how can i use --fix |
i don't think you can for this particular code, you'll have to do it manually |
no i left some blank space i wanted to use it for that |
*] 4 potentially fixable with the --fix option. |
you can run it via the command line, just make sure you have the same version installed as is in the pre-commit-config.yaml file |
Hey, i passed those tests. should i fix rest of those errors now after removing "pandas/core/*" = ["PLR5501"] ??? |
you can open a PR |
ok |
my branch is few commit behind what sholud i do? |
you can just open a pr |
Done PR that took some time it was first PR ever. |
Task is:
PLR5501
frompandas/pyproject.toml
Lines 274 to 275 in 4d18871
pre-commit run ruff --all-files
The text was updated successfully, but these errors were encountered: