Use simopt.opt_func on imsane.core.old_main. This requires to use the OPTIONS constant in insane.core, so this commit moves the definition of this constant in insane.options. This allows to use options.OPTIONS in both cli.py and core.py without cyclic import.
Use
simopt.opt_func
onimsane.core.old_main
. This requires to use theOPTIONS
constant ininsane.core
, so this commit moves the definition of this constant ininsane.options
. This allows to use options.OPTIONS in both cli.py and core.py without cyclic import.This PR requires https://github.com/Tsjerk/simopt/pull/4 to be merged.