Skip to content

refactor: move inline code strings to top-level constants#2886

Merged
aignas merged 1 commit intobazel-contrib:mainfrom
rickeylev:refactor.toolchains.repo.constants
May 17, 2025
Merged

refactor: move inline code strings to top-level constants#2886
aignas merged 1 commit intobazel-contrib:mainfrom
rickeylev:refactor.toolchains.repo.constants

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

This moves all the inline triple-quote strings of generated code to be in top-level constants.

Because they're so large and dedented, they look like regular code. This makes it
hard to visually parse. These large inline strings of code also confuse my
editor's syntax highlighting (it does local, partial, parsing to highlight
tokens, which gets thrown off by the seemingly valid looking code).

@aignas aignas added this pull request to the merge queue May 17, 2025
Merged via the queue into bazel-contrib:main with commit 9ad9ce5 May 17, 2025
3 checks passed
@rickeylev rickeylev deleted the refactor.toolchains.repo.constants branch May 17, 2025 18:13
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

Successfully merging this pull request may close these issues.

2 participants