The any-r1 API requires using both python_gen_any_dep and declaring python_check_deps() at the same time. It would be useful if we could detect if people doing are one and not the other.
I suppose for the former, it would be sufficient to do a dumb match on $(python_gen_any_dep. Seems unlikely enough to occur unexpected.
For the latter, would be nice to actually check global functions but I suppose a dumb regexp python_check_deps\s*() would also help.
The any-r1 API requires using both
python_gen_any_depand declaringpython_check_deps()at the same time. It would be useful if we could detect if people doing are one and not the other.I suppose for the former, it would be sufficient to do a dumb match on
$(python_gen_any_dep. Seems unlikely enough to occur unexpected.For the latter, would be nice to actually check global functions but I suppose a dumb regexp
python_check_deps\s*()would also help.