Quality assurance tests via ExplicitImports + Aqua#144
Conversation
Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
…nto ncc/clean-imports
|
Question: The type piracy errors for fields(::Nothing) = NamedTuple()
prognostic_fields(::Nothing) = NamedTuple()are defined in Oceananigans rather than here? |
|
@giordano if you can have a look at the Aqua errors and help me with proposed solutions it'd be great! |
In general there isn't a recipe for how to handle ambiguities, that's the point of being ambiguous. In this case the problem is ClimaSeaIce.jl/src/SeaIceDynamics/stress_balance_free_drift.jl Lines 48 to 49 in 9552724 TISB constrains the first parameter of StressBalanceFreeDrift, BISB constrains the last one. What to do where you have the mixed case? 🤷 That's entirely up to who wrote the code.
|
|
Yes. Perhaps @simone-silvestri is better to comment. |
Add quality assurance tests via ExplicitImports