-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add Aqua.jl testing #1628
Add Aqua.jl testing #1628
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1628 +/- ##
=======================================
Coverage 96.11% 96.11%
=======================================
Files 418 418
Lines 34247 34247
=======================================
Hits 32915 32915
Misses 1332 1332
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I am not 100% sure if we want or need this, but adding Aqua tests seemed like not such a big issue to add. Also, testing time is hardly affected (<1 min). There are a lot of imho false-positive method ambiguities. There's also a legit piracy warning, thanks to buccaneer-in-chief @jlchan. I added an exception such that tests pass, but we could also think about moving the relevant function to StartUpDG. |
I didn't add that function, but I'm happy to move it StartUpDG.jl. @ranocha, any thoughts? |
err... I beg to differ, good sir! 🧐 |
Ohh right, I did add that function - the DGMulti solvers using SummationByPartsOperators.jl were super slow without it. I must have forgotten because @ranocha added the other SummationByPartsOperators.jl solver features. IMO it doesn't make sense to move it to StartUpDG.jl without moving the rest of the specialization of |
I agree, opening an issue would be a good idea 👍 Can you do it, such that you know what would be to do? |
Wait, I'm a little confused - why is Trixi.jl/src/solvers/dgmulti/sbp.jl Lines 62 to 64 in 92dedde
|
I believe that, yes, this too is 🏴☠️ and it's just that Aqua did not catch it 😅 |
Can you add Aqua exceptions for the other StartUpDG functions in https://github.com/trixi-framework/Trixi.jl/blob/92dedde81e12f8ac2259785a9eab40f475d82251/src/solvers/dgmulti/sbp.jl? The ones which commit type piracy should all be prefaced by |
Yes, but I was thinking that new versions of Aqua might not skip over these other pirated functions. |
Then I would tackle them once the new Aqua version complains about them 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. Thanks for adding this!
Aqua docs: https://juliatesting.github.io/Aqua.jl/dev/