fix(bzlmod): expose ignore_root_user_error attribute from python_register_toolchains (#1114)
diff --git a/python/extensions.bzl b/python/extensions.bzl index 75de415..42f0b58 100644 --- a/python/extensions.bzl +++ b/python/extensions.bzl
@@ -30,6 +30,7 @@ # Toolchain registration in bzlmod is done in MODULE file register_toolchains = False, register_coverage_tool = attr.configure_coverage_tool, + ignore_root_user_error = attr.ignore_root_user_error, ) python = module_extension( @@ -41,6 +42,7 @@ mandatory = False, doc = "Whether or not to configure the default coverage tool for the toolchains.", ), + "ignore_root_user_error": attr.bool(), "name": attr.string(mandatory = True), "python_version": attr.string(mandatory = True), },