Bartleby can be easily integrated in a Bazel repository. It also offers a Bazel rule to run the Bartleby CLI on a set of cc_library targets.
cc_library