Updating Pants BUILD files programmatically

IntroductionWorking with a monorepository implies dealing with build metadata files that provide information about the source code and how it should be built. Pants build system uses BUILD files which are valid Python files and are evaluated using a Python interpreter as a list of statements. When adding support for…