def st2_logging_conf_file(**kwargs):
    """This creates a file target with logging dependencies."""
    deps = kwargs.pop("dependencies", []) or []
    deps = list(deps) + list(_st2common_logging_deps)
    kwargs["dependencies"] = tuple(deps)
    file(**kwargs)  # noqa: F821
This creates a file target with logging dependencies.
pants-plugins/macros.py