Introduce a "meta" check package, checks/all, that will import all the other packages that contain checks. Then main or other packages that want to use checks need only import checks/all and will get all the checks registered.
This doesn't feel like a perfect solution, but I think it's tidy enough to go with for the moment at least.
Introduce a "meta" check package,
checks/all
, that will import all the other packages that contain checks. Then main or other packages that want to use checks need only importchecks/all
and will get all the checks registered.This doesn't feel like a perfect solution, but I think it's tidy enough to go with for the moment at least.