-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix mypy check error: pandas merge copy param #105
Fix mypy check error: pandas merge copy param #105
Conversation
Hi, the last time I tried, every type check passed well. Why turning on copying fixes it? It might increase the memory usage as it is performed at each E-step. |
The error is from mypy checking process as showed in #104, which come from the latest update of pandas-stubs. And I agree that this change will increase the memory usage, maybe we can just add Maybe we can just close this pr and related issue for now and talk about it until we reproduce the ci error in the repo. |
I'd either add |
These stubs must have been ahead of time. Let’s add the corresponding |
Using crowdkit/aggregation/classification/glad.py:161: error: Unused "type: ignore" comment [unused-ignore]
Found 1 error in 1 file (checked 79 source files)
Error: Process completed with exit code 1. |
Hi @pilot7747 , thanks for your reply! I just give a suggestion here and feel free to close this pr without merge if you'd like another solution. |
Wait, if there is |
https://github.com/Toloka/crowd-kit/pull/105/checks?check_run_id=25642305515 |
Ah, I see, thanks! Please remove the space after the comma in the type comment, and we'll merge it immediately. |
Fix #104
Checklist