-
Notifications
You must be signed in to change notification settings - Fork 133
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 Clippy Linting #806
Comments
Hey @haixuanTao can i work on this issue. cargo clippy --all --tests --examples cargo clippy --all --tests --examples --fix or do you want to me to address the issues as produced by the |
Ahah, it is indeed, not very complicated 😊 But let's open a PR, and see if the CI/CD raise any unexpected warnings 😊 It's okay if the first PR do not fix all issues. |
@haixuanTao Can I work on the issue ? |
As discussed in #806 this PR runs the clippy automatic fixes.
In order to move forward with this issue. We need to fix depreciation coming from the change of pyo3 0.23:
To do this, could anyone, remove # The vim command would look like this
s/_bound//g
# Similarly replace:
s/to_object/into_pyobject/g
# Similarly replace:
s/to_py/into_pyobject/g Thanks in advance. To go even further we could modify: https://github.com/huggingface/pyo3-special-method-derive with the same changes. :) |
@haixuanTao Is there anyway to get assigned to an issue. It looks bad when you worked and someone else pushed a PR. |
The thing is that I don't really know the people who ask to get assign on the issue. If you are afraid of working on something someone is already working on. I'm going to raise additional first issues so that it works for everyone. |
I completely understand what you are saying. I live in a different timezone so. No problem. I could have pushed a PR. |
I have created a new issues to add support for microsoft phi4 models: #814 It might be a more challenging one but I can assign it to you if you want? |
I looked it up and started working on it but it was assigned to someone else. No worries, I will try to stay on watch. I made an issue care to drop your views #822 |
To test linting, just do:
Most of the times, clippy would propose changes that can be easily accepted. :)
An automated fix could look like:
TODO
The text was updated successfully, but these errors were encountered: