Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation to inline default_visibility #1198

Open
dimo414 opened this issue Sep 9, 2023 · 0 comments
Open

Operation to inline default_visibility #1198

dimo414 opened this issue Sep 9, 2023 · 0 comments

Comments

@dimo414
Copy link

dimo414 commented Sep 9, 2023

I'd like to lock down some of my BUILD files' default_visibility settings which are needlessly broad. I was hoping there's a way to do so with buildozer but I don't see an option for this. I would expect:

  1. default_visibilty should be removed, rendering the package private by default
  2. rules with explicit visibility declarations should be unmodified
  3. remaining rules (except for export_files) should have their visibility set to the prior default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@dimo414 and others