buildifier is a tool for formatting bazel BUILD and .bzl files with a standard convention.
conda install conda-forge::buildifier