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

Fix CI/CD by fixing clippy errors #40

Merged
merged 11 commits into from
Jul 6, 2024
Merged

Conversation

Mimoja
Copy link
Contributor

@Mimoja Mimoja commented Jun 24, 2024

  • clippy,nits: remove needless lifetimes
  • clippy,nits: remove needless borrow
  • clippy,nits: allow use of println! in tests

This is what is needed to make cargo clippy run successfull which should unblock the CI/CD

clippy complains about these lifetimes as they can be removed by
relying on lifetime elision instead.

Signed-off-by: Mimoja <[email protected]>
The borrow will be immediately dereferenced by the compiler and is therefore
unnecessary.

Signed-off-by: Mimoja <[email protected]>
@Mimoja
Copy link
Contributor Author

Mimoja commented Jun 24, 2024

Guess not all did show up when running clippy locally. Sorry

@Mimoja Mimoja force-pushed the master branch 5 times, most recently from 55a0562 to 4c191d4 Compare July 6, 2024 11:26
@Mimoja Mimoja force-pushed the master branch 5 times, most recently from c2709c1 to 9fb12a6 Compare July 6, 2024 13:42
Signed-off-by: Mimoja <[email protected]>
@Mimoja Mimoja force-pushed the master branch 3 times, most recently from 8c0276e to 2c0707c Compare July 6, 2024 13:59
@phiresky phiresky merged commit 3a820f3 into phiresky:master Jul 6, 2024
6 checks passed
@Mimoja
Copy link
Contributor Author

Mimoja commented Jul 6, 2024

I am so very sorry, i played around with the pypi build and forgot i had this PR open. As you are not releasing to PyPi anyways nothing broke, but I will sent a partial revert for my local changes

@Mimoja
Copy link
Contributor Author

Mimoja commented Jul 6, 2024

Addressed in #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants