-
Notifications
You must be signed in to change notification settings - Fork 19
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
for some static testing
#437
Conversation
When reviewing this PR, please check the compat versions introduced here for sensibility. |
the code in here is not really tied to a specific version and libpolymake_julia brings its own bounds which would make this a mess to maintain we do need to keep this dependency for now as polymake_jll is imported in the generate_deps_tree.jl file which is not in this repo
A few more changes:
For type piracy we basically have these two (for various kinds of containers):
Unless someone wants to dig into how CxxWrap generates these signatures this will stay disabled. Ambiguities is somewhat similar except that there are thousands instead of just 40 cases and Aqua doesn't seem to provide any way to work with the results (which are just dumped on the screen...). |
Thanks for your changes! The Aqua-function is basically only a wrapper around I think this would be the way to go and investigate. If there are some certain functions with ambiguities coming from CxxWrap, one could disable those in the Aqua check (cf. |
If anyone wants to look into this, a lot of the output looks like this (again with varying types), but there are also a bunch of other function names involved:
For now I will just keep piracy and ambiguities checks disabled. Warning (for anyone trying to look into this): That ambiguities check might take about half an hour. |
See oscar-system/Oscar.jl#2385.