-
Notifications
You must be signed in to change notification settings - Fork 183
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
style and clippy #411
Comments
Can you provide an example for reproducing this? This issue should be fixed, but I would like to double check before making a release. |
@newAM Thanks a bunch for quickly adressing this. https://github.com/quartiq/stabilizer/actions/runs/6847918046/job/18617087392#step:4:247 Note that making it camel case to satisfy the type naming leads to the complaint about the static value not being UPPER_CASE. Lines 62 to 78 in d9b06bd
|
Thanks!
As far as I know there's no (easy) way to run doctests as clippy lints (rust-lang/rust#56232) |
Ah. That's unfortunate. Maybe just not calling the pool |
Yeah that's an unfortunate miss in testing. I added a test/fix for it here: #417. I feel like there should be a better way to express this though 🤔
Yeah, we need coverage for that too as part of a normal test. I'm still thinking about the best way to handle this one. |
I think for the From the documentation for the
This is what we are doing here - using a "non-constant" const item to initialize a downstream What do you think? |
Agreed |
Those |
Yup! Thanks for pointing that out. I'm not familiar with all the code in |
CI does not run clippy and style/lints have apparently been a bit overlooked.
Since this is also true in macros (e.g. the
box_*!()
) this directly impacts downstream crates that care about clippy lints and style.We should
The text was updated successfully, but these errors were encountered: